| <?xml version='1.0' encoding='UTF-8'?> |
| <!-- Schema file written by PDE --> |
| <schema targetNamespace="org.eclipse.viatra2.gui" xmlns="http://www.w3.org/2001/XMLSchema"> |
| <annotation> |
| <appInfo> |
| <meta.schema plugin="org.eclipse.viatra2.gui" id="fileTemplate" name="New VIATRA file templates"/> |
| </appInfo> |
| <documentation> |
| This extension point can be used to add templates to the new VIATRA file generation wizard. |
| </documentation> |
| </annotation> |
| |
| <element name="extension"> |
| <annotation> |
| <appInfo> |
| <meta.element /> |
| </appInfo> |
| </annotation> |
| <complexType> |
| <sequence minOccurs="0" maxOccurs="unbounded"> |
| <element ref="templateReference" minOccurs="0" 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="templateReference"> |
| <complexType> |
| <sequence minOccurs="0" maxOccurs="1"> |
| <element ref="templateParameter" minOccurs="1" maxOccurs="unbounded"/> |
| </sequence> |
| <attribute name="extension" type="string" use="required"> |
| <annotation> |
| <documentation> |
| Specifies the file extension for which the template can be used. |
| </documentation> |
| </annotation> |
| </attribute> |
| <attribute name="templateFile" type="string" use="required"> |
| <annotation> |
| <documentation> |
| a bundle-relative path to the template file. |
| </documentation> |
| </annotation> |
| </attribute> |
| <attribute name="name" type="string" use="required"> |
| <annotation> |
| <documentation> |
| The name of the template. |
| </documentation> |
| </annotation> |
| </attribute> |
| <attribute name="description" type="string"> |
| <annotation> |
| <documentation> |
| A short textual description of the template. |
| </documentation> |
| </annotation> |
| </attribute> |
| </complexType> |
| </element> |
| |
| <element name="templateParameter"> |
| <annotation> |
| <documentation> |
| A template parameter to be passed to the JET engine. |
| </documentation> |
| </annotation> |
| <complexType> |
| <attribute name="name" type="string" use="required"> |
| <annotation> |
| <documentation> |
| The parameter's name. |
| </documentation> |
| </annotation> |
| </attribute> |
| <attribute name="description" type="string"> |
| <annotation> |
| <documentation> |
| A description of the parameter (role, usage, etc.). |
| </documentation> |
| </annotation> |
| </attribute> |
| <attribute name="defaultValue" type="string" use="required"> |
| <annotation> |
| <documentation> |
| The default value of the parameter. |
| </documentation> |
| </annotation> |
| </attribute> |
| </complexType> |
| </element> |
| |
| <annotation> |
| <appInfo> |
| <meta.section type="since"/> |
| </appInfo> |
| <documentation> |
| R3 |
| </documentation> |
| </annotation> |
| |
| |
| |
| |
| <annotation> |
| <appInfo> |
| <meta.section type="copyright"/> |
| </appInfo> |
| <documentation> |
| Copyright 2008 Istvan Rath |
| </documentation> |
| </annotation> |
| |
| </schema> |