blob: 0fb1d9a15e4a3565c2cf76d5ef291bee39168a8a [file] [log] [blame]
<?xml version='1.0' encoding='UTF-8'?>
<!-- Schema file written by PDE -->
<schema targetNamespace="org.eclipse.xwt.pde" xmlns="http://www.w3.org/2001/XMLSchema">
<annotation>
<appinfo>
<meta.schema plugin="org.eclipse.xwt.pde" id="metaclassFactories" name="Metaclass Factory"/>
</appinfo>
<documentation>
This extension point is used to register a MetaclassFactory
</documentation>
</annotation>
<element name="extension">
<annotation>
<appinfo>
<meta.element />
</appinfo>
</annotation>
<complexType>
<choice>
<element ref="metaclassFactory" minOccurs="0" maxOccurs="unbounded"/>
</choice>
<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="metaclassFactory">
<annotation>
<documentation>
Metaclass definition
</documentation>
</annotation>
<complexType>
<attribute name="name" type="string" use="required">
<annotation>
<documentation>
</documentation>
</annotation>
</attribute>
<attribute name="metaclass" type="string" use="required">
<annotation>
<documentation>
The factopry class
</documentation>
<appinfo>
<meta.attribute kind="java" basedOn=":org.eclipse.xwt.IMetaclassFactory"/>
</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>
Here is an example to declare the Metaclassfactory class to create the specific metaclasses for JFreeChart library:
&lt;pre&gt;
&lt;extension
point=&quot;org.eclipse.xwt.pde.metaclassFactories&quot;&gt;
&lt;metaclassFactory
metaclass=&quot;org.eclipse.xwt.demo.JFreeChartFactory&quot;
name=&quot;JFreeChart&quot;&gt;
&lt;/metaclassFactory&gt;
&lt;/extension&gt;
&lt;/pre&gt;
</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>