| <?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'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> |
| <extension |
| point="org.eclipse.xwt.vex.customPalette"> |
| <category |
| icon="icons/new.png" |
| name="My Category"> |
| <tool |
| content="&lt;RadioGroup x:style=&quot;SWT.NONE&quot;&gt;&lt;RadioGroup.layout&gt;&lt;GridLayout numColumns=&quot;1&quot; /&gt;&lt;/RadioGroup.layout&gt;&lt;/RadioGroup&gt;" |
| icon="icons/radiogroup.png" |
| name="RadioGroup"> |
| </tool> |
| </category> |
| </extension> |
| |
| </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 <anaik@anyware-tech.com> - Bug 274057 |
| Improved and integrated in XWT by yves ynag (yves.yang@soyatec.com) |
| </documentation> |
| </annotation> |
| |
| </schema> |