blob: 85970f4908a4268ee605e0f0d03cdaf95b53bc85 [file] [log] [blame]
<?xml version='1.0' encoding='UTF-8'?>
<!-- Schema file written by PDE -->
<schema targetNamespace="org.eclipse.ui">
<annotation>
<appInfo>
<meta.schema plugin="org.eclipse.ui" id="navigator" name="General Purpose Navigator"/>
</appInfo>
<documentation>
This extension point is used to add contents, presentation, filters, sorters and actions to the General Purpose Navigator view.
</documentation>
</annotation>
<element name="extension">
<complexType>
<sequence>
<element ref="view"/>
</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>
</annotation>
</attribute>
</complexType>
</element>
<element name="view">
<annotation>
<documentation>
Navgiator view targeted by this extension.
</documentation>
</annotation>
<complexType>
<sequence>
<element ref="content" minOccurs="0" maxOccurs="1"/>
<element ref="rootContent" minOccurs="0" maxOccurs="1"/>
</sequence>
<attribute name="targetId" type="string" use="required">
<annotation>
<documentation>
Part id of the targeted Navigator view part. E.g., org.eclipse.ui.views.Navigator
</documentation>
</annotation>
</attribute>
</complexType>
</element>
<element name="content">
<annotation>
<documentation>
Specifies the content provider for the navigator view. If one or more natures are specified the content provider must supply only projects with exactly these natures. If no natures are specified the content provider supplies elements that are not of type &lt;code&gt;IProject&lt;/code&gt; or that do not adapt to it.
</documentation>
</annotation>
<complexType>
<sequence>
<element ref="enablement" minOccurs="0" maxOccurs="1"/>
</sequence>
<attribute name="id" type="string" use="required">
<annotation>
<documentation>
Id of the content provider
</documentation>
</annotation>
</attribute>
<attribute name="name" type="string">
<annotation>
<documentation>
Displayable name of the content provider
</documentation>
</annotation>
</attribute>
<attribute name="class" type="string" use="required">
<annotation>
<documentation>
Content provider class implementing &lt;code&gt;&lt;/code&gt;
</documentation>
<appInfo>
<meta.attribute kind="java" basedOn="org.eclipse.jface.viewers.ITreeContentProvider"/>
</appInfo>
</annotation>
</attribute>
<attribute name="priority" type="string">
<annotation>
<documentation>
</documentation>
</annotation>
</attribute>
</complexType>
</element>
<element name="enablement">
<annotation>
<documentation>
This element is used to define the enablement for the action.
</documentation>
</annotation>
<complexType>
<choice>
<element ref="and"/>
<element ref="or"/>
<element ref="not"/>
<element ref="objectState"/>
</choice>
</complexType>
</element>
<element name="and">
<annotation>
<documentation>
This element represent a boolean AND operation on the result of evaluating it&apos;s two sub-element expressions.
</documentation>
</annotation>
<complexType>
<choice minOccurs="2" maxOccurs="2">
<element ref="and"/>
<element ref="or"/>
<element ref="not"/>
<element ref="objectState"/>
</choice>
</complexType>
</element>
<element name="or">
<annotation>
<documentation>
This element represent a boolean OR operation on the result of evaluating it&apos;s two sub-element expressions.
</documentation>
</annotation>
<complexType>
<choice minOccurs="2" maxOccurs="2">
<element ref="and"/>
<element ref="or"/>
<element ref="not"/>
<element ref="objectState"/>
</choice>
</complexType>
</element>
<element name="not">
<annotation>
<documentation>
This element represent a boolean NOT operation on the result of evaluating it&apos;s sub-element expressions.
</documentation>
</annotation>
<complexType>
<choice>
<element ref="and"/>
<element ref="or"/>
<element ref="not"/>
<element ref="objectState"/>
</choice>
</complexType>
</element>
<element name="objectState">
<annotation>
<appInfo>
<meta.element labelAttribute="name"/>
</appInfo>
<documentation>
This element is used to evaluate the attribute state of each object in the current selection. If each object in the selection has the specified attribute state, the expression is evaluated as true. To evaluate this type of expression, each object in the selection must implement, or adapt to, &lt;samp&gt;org.eclipse.ui.IActionFilter&lt;/samp&gt; interface.
</documentation>
</annotation>
<complexType>
<attribute name="name" type="string" use="required">
<annotation>
<documentation>
the name of an object&apos;s attribute. Acceptable names reflect the object type, and should be publicly declared by the plug-in where the object type is declared.
</documentation>
</annotation>
</attribute>
<attribute name="value" type="string" use="required">
<annotation>
<documentation>
the required value of the object&apos;s attribute. The acceptable values for the object&apos;s attribute should be publicly declared.
</documentation>
</annotation>
</attribute>
</complexType>
</element>
<element name="rootContent">
<complexType>
<attribute name="id" type="string" use="required">
<annotation>
<documentation>
</documentation>
</annotation>
</attribute>
<attribute name="name" type="string">
<annotation>
<documentation>
</documentation>
</annotation>
</attribute>
<attribute name="class" type="string" use="required">
<annotation>
<documentation>
</documentation>
<appInfo>
<meta.attribute kind="java" basedOn="org.eclipse.jface.viewers.ITreeContentProvider"/>
</appInfo>
</annotation>
</attribute>
</complexType>
</element>
<annotation>
<appInfo>
<meta.section type="since"/>
</appInfo>
<documentation>
3.0
</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>
<annotation>
<appInfo>
<meta.section type="copyright"/>
</appInfo>
<documentation>
</documentation>
</annotation>
</schema>