mirror of
https://github.com/peterdell/wudsn-ide.git
synced 2024-12-23 15:29:25 +00:00
184 lines
5.6 KiB
XML
184 lines
5.6 KiB
XML
<?xml version='1.0' encoding='UTF-8'?>
|
|
<!-- Schema file written by PDE -->
|
|
<schema targetNamespace="com.wudsn.ide.gfx" xmlns="http://www.w3.org/2001/XMLSchema">
|
|
<annotation>
|
|
<appinfo>
|
|
<meta.schema plugin="com.wudsn.ide.gfx" id="converters" name="Converters"/>
|
|
</appinfo>
|
|
<documentation>
|
|
[Enter description of this extension point.]
|
|
</documentation>
|
|
</annotation>
|
|
|
|
<element name="extension">
|
|
<annotation>
|
|
<appinfo>
|
|
<meta.element />
|
|
</appinfo>
|
|
</annotation>
|
|
<complexType>
|
|
<sequence>
|
|
<element ref="converterGroup" 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="converterGroup">
|
|
<complexType>
|
|
<sequence minOccurs="0" maxOccurs="unbounded">
|
|
<element ref="converter"/>
|
|
</sequence>
|
|
<attribute name="name" type="string">
|
|
<annotation>
|
|
<documentation>
|
|
|
|
</documentation>
|
|
</annotation>
|
|
</attribute>
|
|
</complexType>
|
|
</element>
|
|
|
|
<element name="converter">
|
|
<complexType>
|
|
<choice>
|
|
<sequence>
|
|
<element ref="sourceFile" minOccurs="1" maxOccurs="10"/>
|
|
</sequence>
|
|
<sequence>
|
|
<element ref="targetFile" minOccurs="1" maxOccurs="10"/>
|
|
</sequence>
|
|
</choice>
|
|
<attribute name="id" type="string" use="required">
|
|
<annotation>
|
|
<documentation>
|
|
The id of the converter. Must be requal to its class name.
|
|
</documentation>
|
|
<appinfo>
|
|
<meta.attribute kind="java" basedOn="com.wudsn.ide.gfx.converter.Converter:"/>
|
|
</appinfo>
|
|
</annotation>
|
|
</attribute>
|
|
<attribute name="name" type="string" use="required">
|
|
<annotation>
|
|
<documentation>
|
|
The displayed name of the converter.
|
|
</documentation>
|
|
</annotation>
|
|
</attribute>
|
|
<attribute name="sourceFileExtensions" type="string">
|
|
<annotation>
|
|
<documentation>
|
|
Possibly empty sequence of file extensions which are recognized by the converter. Entries must be lower case without leading dot. Multiple entries are separated with comma.
|
|
</documentation>
|
|
</annotation>
|
|
</attribute>
|
|
<attribute name="targetImagePaletteSize" type="string" use="required">
|
|
<annotation>
|
|
<documentation>
|
|
Size of the target image palette. Must be 0 for a direct palette or a power of 2 for an indexed palette.
|
|
</documentation>
|
|
</annotation>
|
|
</attribute>
|
|
<attribute name="targetImageDisplayAspect" type="string" use="required">
|
|
<annotation>
|
|
<documentation>
|
|
|
|
</documentation>
|
|
</annotation>
|
|
</attribute>
|
|
</complexType>
|
|
</element>
|
|
|
|
<element name="sourceFile">
|
|
<complexType>
|
|
<attribute name="label" type="string" use="required">
|
|
<annotation>
|
|
<documentation>
|
|
|
|
</documentation>
|
|
<appinfo>
|
|
<meta.attribute translatable="true"/>
|
|
</appinfo>
|
|
</annotation>
|
|
</attribute>
|
|
</complexType>
|
|
</element>
|
|
|
|
<element name="targetFile">
|
|
<complexType>
|
|
<attribute name="label" type="string" use="required">
|
|
<annotation>
|
|
<documentation>
|
|
|
|
</documentation>
|
|
<appinfo>
|
|
<meta.attribute translatable="true"/>
|
|
</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>
|
|
[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>
|