blob: 3c114614ef4b1870a647a431806a90e49eebac87 [file] [log] [blame]
<?xml version='1.0' encoding='UTF-8'?>
<!-- Schema file written by PDE -->
<schema targetNamespace="org.eclipse.jdt.ui">
<annotation>
<appInfo>
<meta.schema plugin="org.eclipse.jdt.ui" id="typeExtenders" name="Type Extenders"/>
</appInfo>
<documentation>
This extension point allows to add properties to an already existing type. Those
properties can then be used inside the common expression language&apos;s test expression
element.
</documentation>
</annotation>
<element name="propteryTesters">
<complexType>
<sequence>
<element ref="propertyTester" minOccurs="0" maxOccurs="unbounded"/>
</sequence>
<attribute name="point" type="string" use="required">
<annotation>
<documentation>
a fully qualified identifier of the target extension point
</documentation>
</annotation>
</attribute>
<attribute name="id" type="string">
<annotation>
<documentation>
an optional identifier of the extension instance
</documentation>
</annotation>
</attribute>
<attribute name="name" type="string">
<annotation>
<documentation>
an optional name of the extension instance
</documentation>
</annotation>
</attribute>
</complexType>
</element>
<element name="propertyTester">
<complexType>
<attribute name="id" type="string" use="required">
<annotation>
<documentation>
unique identifier for the property tester
</documentation>
</annotation>
</attribute>
<attribute name="type" type="string" use="required">
<annotation>
<documentation>
the type to be extended by this property tester
</documentation>
</annotation>
</attribute>
<attribute name="namespace" type="string" use="required">
<annotation>
<documentation>
a unique id determining the name space the properties are added to
</documentation>
</annotation>
</attribute>
<attribute name="properties" type="string" use="required">
<annotation>
<documentation>
a comma separated list of properties provided by this property tester
</documentation>
</annotation>
</attribute>
<attribute name="class" type="string" use="required">
<annotation>
<documentation>
the name of the class that implements the testing methods. The class must be public and extend
&lt;samp&gt;org.eclipse.core.expressions.PropertyTester&lt;/samp&gt; with a public 0-argument constructor.
</documentation>
</annotation>
</attribute>
</complexType>
</element>
<annotation>
<appInfo>
<meta.section type="examples"/>
</appInfo>
<documentation>
The following is an example of a property tester contribution:
&lt;p&gt;
&lt;pre&gt;
&lt;extension point=&quot;org.eclipse.core.expressions.propertyTester&quot;&gt;
&lt;propertyTester
id=&quot;org.eclipse.jdt.ui.IResourceTester&quot;
type=&quot;org.eclipse.core.resources.IResource&quot;
namespace=&quot;org.eclipse.jdt.ui&quot;
properties=&quot;canDelete&quot;
class=&quot;org.eclipse.jdt.ui.internal.ResourceTester&quot;&gt;
&lt;/propertyTester&gt;
&lt;/extension&gt;
&lt;/pre&gt;
&lt;/p&gt;
</documentation>
</annotation>
<annotation>
<appInfo>
<meta.section type="apiInfo"/>
</appInfo>
<documentation>
The contributed class must extend &lt;code&gt;org.eclipse.core.expressions.PropertyTester&lt;/code&gt;
</documentation>
</annotation>
<annotation>
<appInfo>
<meta.section type="implementation"/>
</appInfo>
<documentation>
</documentation>
</annotation>
<annotation>
<appInfo>
<meta.section type="copyright"/>
</appInfo>
<documentation>
&lt;p&gt;
&lt;a href=&quot;hglegal.htm&quot;&gt;
&lt;img SRC=&quot;ngibmcpy.gif&quot;
ALT=&quot;Copyright (c) 2000, 2003 IBM Corporation and others. All Rights Reserved.&quot;
BORDER=0 height=14 width=324&gt;&lt;/a&gt;
&lt;/p&gt;
</documentation>
</annotation>
</schema>