blob: 9914d78ca80500c3f8621299941f03953af8fdd1 [file] [log] [blame]
<?xml version='1.0' encoding='UTF-8'?>
<!-- Schema file written by PDE -->
<schema targetNamespace="org.eclipse.platform.discovery.runtime" xmlns="http://www.w3.org/2001/XMLSchema">
<annotation>
<appInfo>
<meta.schema plugin="org.eclipse.platform.discovery.runtime" id="org.eclipse.platform.discovery.runtime.searchprovider" name="Search provider XP"/>
</appInfo>
<documentation>
Search providers can be contributed via this extension point
</documentation>
</annotation>
<element name="extension">
<annotation>
<appInfo>
<meta.element />
</appInfo>
</annotation>
<complexType>
<sequence>
<element ref="searchprovider"/>
</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="searchprovider">
<complexType>
<sequence>
<element ref="category" minOccurs="0" maxOccurs="unbounded"/>
</sequence>
<attribute name="id" type="string" use="required">
<annotation>
<documentation>
The search provider id
</documentation>
</annotation>
</attribute>
<attribute name="objecttypeid" type="string" use="required">
<annotation>
<documentation>
The id of the object type this search provider can search for
</documentation>
</annotation>
</attribute>
<attribute name="instance" type="string" use="required">
<annotation>
<documentation>
The class which implements the search provider
</documentation>
<appInfo>
<meta.attribute kind="java" basedOn=":org.eclipse.platform.discovery.runtime.api.ISearchProvider"/>
</appInfo>
</annotation>
</attribute>
<attribute name="supportstextsearch" type="boolean" use="required">
<annotation>
<documentation>
Whether this search provider supports text searches
</documentation>
</annotation>
</attribute>
</complexType>
</element>
<element name="category">
<annotation>
<documentation>
Ids of destination categories which this search provider supports
</documentation>
</annotation>
<complexType>
<attribute name="categoryid" type="string" use="required">
<annotation>
<documentation>
A category ID this provider supports
</documentation>
</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>