blob: 50acd6aeabbe621a3f98f8498a51dc2de354e47f [file] [log] [blame]
<?xml version='1.0' encoding='UTF-8'?>
<!-- Schema file written by PDE -->
<schema targetNamespace="org.eclipse.xwt.vex" xmlns="http://www.w3.org/2001/XMLSchema">
<annotation>
<appInfo>
<meta.schema plugin="org.eclipse.xwt.vex" id="customPalette" name="customPalette"/>
</appInfo>
<documentation>
Allows to add custom components in the XWT palette
</documentation>
</annotation>
<element name="extension">
<annotation>
<appInfo>
<meta.element />
</appInfo>
</annotation>
<complexType>
<sequence>
<element ref="category" minOccurs="1" maxOccurs="unbounded"/>
</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="category">
<annotation>
<documentation>
Tool&apos;s category is a container in palette. It can contains tools and sub catogories
</documentation>
</annotation>
<complexType>
<sequence>
<element ref="tool" minOccurs="1" maxOccurs="unbounded"/>
</sequence>
<attribute name="name" type="string" use="required">
<annotation>
<documentation>
</documentation>
</annotation>
</attribute>
<attribute name="icon" type="string">
<annotation>
<documentation>
</documentation>
<appInfo>
<meta.attribute kind="resource"/>
</appInfo>
</annotation>
</attribute>
<attribute name="parentCategory" type="string">
<annotation>
<documentation>
parent category id
</documentation>
</annotation>
</attribute>
<attribute name="id" type="string">
<annotation>
<documentation>
</documentation>
</annotation>
</attribute>
</complexType>
</element>
<element name="tool">
<annotation>
<documentation>
Tool entry definition
</documentation>
</annotation>
<complexType>
<attribute name="name" type="string" use="required">
<annotation>
<documentation>
</documentation>
</annotation>
</attribute>
<attribute name="class" type="string">
<annotation>
<documentation>
</documentation>
</annotation>
</attribute>
<attribute name="content" type="string" use="required">
<annotation>
<documentation>
The content to be inserted in XML code. It is a template aware text, which may contains template variables
</documentation>
</annotation>
</attribute>
<attribute name="tooltip" type="string">
<annotation>
<documentation>
User help information
</documentation>
</annotation>
</attribute>
<attribute name="icon" type="string">
<annotation>
<documentation>
</documentation>
<appInfo>
<meta.attribute kind="resource"/>
</appInfo>
</annotation>
</attribute>
<attribute name="scope" type="string">
<annotation>
<documentation>
</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>
&lt;extension
point=&quot;org.eclipse.xwt.vex.customPalette&quot;&gt;
&lt;category
icon=&quot;icons/new.png&quot;
name=&quot;My Category&quot;&gt;
&lt;tool
content=&quot;&amp;lt;RadioGroup x:style=&amp;quot;SWT.NONE&amp;quot;&amp;gt;&amp;lt;RadioGroup.layout&amp;gt;&amp;lt;GridLayout numColumns=&amp;quot;1&amp;quot; /&amp;gt;&amp;lt;/RadioGroup.layout&amp;gt;&amp;lt;/RadioGroup&amp;gt;&quot;
icon=&quot;icons/radiogroup.png&quot;
name=&quot;RadioGroup&quot;&gt;
&lt;/tool&gt;
&lt;/category&gt;
&lt;/extension&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>
<annotation>
<appInfo>
<meta.section type="copyright"/>
</appInfo>
<documentation>
Anaik Trihoreau &lt;anaik@anyware-tech.com&gt; - Bug 274057
Improved and integrated in XWT by yves ynag (yves.yang@soyatec.com)
</documentation>
</annotation>
</schema>