blob: c54370adc034f770fc23dc6dacbace72cea2673d [file] [log] [blame]
<?xml version='1.0' encoding='UTF-8'?>
<!-- Schema file written by PDE -->
<schema targetNamespace="org.eclipse.xwt.tools.ui.palette" xmlns="http://www.w3.org/2001/XMLSchema">
<annotation>
<appInfo>
<meta.schema plugin="org.eclipse.xwt.tools.ui.palette" id="paletteContribution" name="Palette Contribution"/>
</appInfo>
<documentation>
Contribution palette for Visual Designer
</documentation>
</annotation>
<element name="extension">
<annotation>
<appInfo>
<meta.element />
</appInfo>
</annotation>
<complexType>
<sequence minOccurs="1" maxOccurs="unbounded">
<element ref="Contribution"/>
</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="Contribution">
<complexType>
<choice>
<element ref="Tool" minOccurs="1" maxOccurs="unbounded"/>
<element ref="Initializer" minOccurs="1" maxOccurs="unbounded"/>
<element ref="Resource" minOccurs="1" maxOccurs="unbounded"/>
</choice>
<attribute name="targetId" type="string" use="required">
<annotation>
<documentation>
</documentation>
<appInfo>
<meta.attribute kind="identifier"/>
</appInfo>
</annotation>
</attribute>
</complexType>
</element>
<element name="Resource">
<annotation>
<documentation>
Palette resource should be provider.
</documentation>
</annotation>
<complexType>
<attribute name="uri" type="string">
<annotation>
<documentation>
</documentation>
<appInfo>
<meta.attribute kind="resource"/>
</appInfo>
</annotation>
</attribute>
<attribute name="provider" type="string">
<annotation>
<documentation>
</documentation>
<appInfo>
<meta.attribute kind="java" basedOn=":org.eclipse.xwt.tools.ui.palette.page.resources.IPaletteResourceProvider"/>
</appInfo>
</annotation>
</attribute>
</complexType>
</element>
<element name="Initializer">
<complexType>
<attribute name="id" type="string" use="required">
<annotation>
<documentation>
The identifier of Initializer.
</documentation>
</annotation>
</attribute>
<attribute name="target" type="string">
<annotation>
<documentation>
Entry name or id. This also can be marked with &quot;*&quot;, it means to allows to apply all initializers to all entries.
</documentation>
</annotation>
</attribute>
<attribute name="class" type="string" use="required">
<annotation>
<documentation>
</documentation>
<appInfo>
<meta.attribute kind="java" basedOn="org.eclipse.xwt.tools.ui.palette.impl.InitializerImpl:org.eclipse.xwt.tools.ui.palette.Initializer"/>
</appInfo>
</annotation>
</attribute>
<attribute name="overrideId" type="string">
<annotation>
<documentation>
Give a id of existing Initializer, so that, the new Initializer will overrite it.
</documentation>
<appInfo>
<meta.attribute kind="identifier" basedOn="org.eclipse.xwt.tools.ui.palette.paletteContribution/Contribution/Initializer/@id"/>
</appInfo>
</annotation>
</attribute>
</complexType>
</element>
<element name="Tool">
<complexType>
<attribute name="class" type="string" use="required">
<annotation>
<documentation>
</documentation>
<appInfo>
<meta.attribute kind="java" basedOn=":org.eclipse.gef.Tool"/>
</appInfo>
</annotation>
</attribute>
<attribute name="type" use="required">
<annotation>
<documentation>
</documentation>
</annotation>
<simpleType>
<restriction base="string">
<enumeration value="creation">
</enumeration>
<enumeration value="selection">
</enumeration>
</restriction>
</simpleType>
</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>