blob: f4ac09fa0a841688feffe6b878dcd416e203094e [file] [log] [blame]
<?xml version='1.0' encoding='UTF-8'?>
<!-- Schema file written by PDE -->
<schema targetNamespace="org.eclipse.platform.discovery.ui" xmlns="http://www.w3.org/2001/XMLSchema">
<annotation>
<appInfo>
<meta.schema plugin="org.eclipse.platform.discovery.ui" id="org.eclipse.platform.discovery.ui.customresultui" name="Custom search results UI contribution"/>
</appInfo>
<documentation>
Contributors can provide a custom UI which displays the result of a search provider. The framework supports up to one such contributor per a search provider. If there are more than one contributors for a single search provider, the framework will throw a runtime exception
</documentation>
</annotation>
<element name="extension">
<annotation>
<appInfo>
<meta.element />
</appInfo>
</annotation>
<complexType>
<sequence>
<element ref="contributor"/>
</sequence>
<attribute name="point" type="string" use="required">
<annotation>
<documentation>
</documentation>
</annotation>
</attribute>
<attribute name="id" type="string">
<annotation>
<documentation>
</documentation>
</annotation>
</attribute>
<attribute name="name" type="string">
<annotation>
<documentation>
</documentation>
<appInfo>
<meta.attribute translatable="true"/>
</appInfo>
</annotation>
</attribute>
</complexType>
</element>
<element name="contributor">
<complexType>
<attribute name="id" type="string" use="required">
<annotation>
<documentation>
The unique ID of this contributor
</documentation>
</annotation>
</attribute>
<attribute name="searchproviderid" type="string" use="required">
<annotation>
<documentation>
The ID of the search provider for which this contributor shows search result
</documentation>
</annotation>
</attribute>
<attribute name="creator" type="string" use="required">
<annotation>
<documentation>
The ISearchResultCustomUiCreator implementation which will create the UI to display the result
</documentation>
<appInfo>
<meta.attribute kind="java" basedOn=":org.eclipse.platform.discovery.ui.api.ISearchResultCustomUiCreator"/>
</appInfo>
</annotation>
</attribute>
</complexType>
</element>
<annotation>
<appInfo>
<meta.section type="since"/>
</appInfo>
<documentation>
[Enter the first release in which this extension point appears.]
</documentation>
</annotation>
<annotation>
<appInfo>
<meta.section type="examples"/>
</appInfo>
<documentation>
[Enter extension point usage example here.]
</documentation>
</annotation>
<annotation>
<appInfo>
<meta.section type="apiinfo"/>
</appInfo>
<documentation>
[Enter API information here.]
</documentation>
</annotation>
<annotation>
<appInfo>
<meta.section type="implementation"/>
</appInfo>
<documentation>
[Enter information about supplied implementation of this extension point.]
</documentation>
</annotation>
</schema>