blob: 30fa44af0af68dd445255c5c345d925609bae2fa [file] [log] [blame]
<?xml version='1.0' encoding='UTF-8'?>
<!-- Schema file written by PDE -->
<schema targetNamespace="org.eclipse.scripting" xmlns="http://www.w3.org/2001/XMLSchema">
<annotation>
<appinfo>
<meta.schema plugin="org.eclipse.scripting" id="modules" name="Modules"/>
</appinfo>
<documentation>
[Enter description of this extension point.]
</documentation>
</annotation>
<element name="extension">
<annotation>
<appinfo>
<meta.element />
</appinfo>
</annotation>
<complexType>
<choice minOccurs="0" maxOccurs="unbounded">
<element ref="module" minOccurs="0" maxOccurs="unbounded"/>
<element ref="category" minOccurs="0" maxOccurs="unbounded"/>
</choice>
<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="dependency">
<complexType>
<attribute name="module" type="string" use="required">
<annotation>
<documentation>
Module to be loaded as dependency.
</documentation>
<appinfo>
<meta.attribute kind="identifier" basedOn="org.eclipse.ease.modules/module/@id"/>
</appinfo>
</annotation>
</attribute>
</complexType>
</element>
<element name="module">
<complexType>
<choice minOccurs="0" maxOccurs="unbounded">
<element ref="dependency" minOccurs="0" maxOccurs="unbounded"/>
</choice>
<attribute name="id" type="string" use="required">
<annotation>
<documentation>
Unique id of this module. Use &lt;plugin-id&gt;.&lt;someName&gt; here to allow for automatic build of help files. Not following this scheme will break help pages for module references.
</documentation>
</annotation>
</attribute>
<attribute name="name" type="string" use="required">
<annotation>
<documentation>
Name of module as used by the loadModule({name}) script command
</documentation>
</annotation>
</attribute>
<attribute name="class" type="string" use="required">
<annotation>
<documentation>
Implementing class. Optionally implements org.eclipse.ease.IScriptModule to get the current Scriptengine and Environment injected. Typically uses @WrapToScript annotation to export methods to the script engine.
</documentation>
<appinfo>
<meta.attribute kind="java"/>
</appinfo>
</annotation>
</attribute>
<attribute name="visible" type="boolean" use="default" value="true">
<annotation>
<documentation>
Make this module visible for the user. If set to false, the module can still be loaded, but it will be hidden from the UI. Defaults to [true]
</documentation>
</annotation>
</attribute>
<attribute name="category" type="string">
<annotation>
<documentation>
Category to file this module. Allows to build hierarchies to structure modules.
</documentation>
<appinfo>
<meta.attribute kind="identifier" basedOn="org.eclipse.ease.modules/category/@id"/>
</appinfo>
</annotation>
</attribute>
<attribute name="icon" type="string">
<annotation>
<documentation>
Image to display for module.
</documentation>
<appinfo>
<meta.attribute kind="resource"/>
</appinfo>
</annotation>
</attribute>
</complexType>
</element>
<element name="category">
<complexType>
<attribute name="id" type="string" use="required">
<annotation>
<documentation>
Unique id of this category. Use &lt;plugin-id&gt;.category.&lt;your.category.name&gt; here to allow for automatic build of help files. Not following this scheme will break help pages for module references.
</documentation>
</annotation>
</attribute>
<attribute name="name" type="string" use="required">
<annotation>
<documentation>
Category name as used in the UI.
</documentation>
</annotation>
</attribute>
<attribute name="parent" type="string">
<annotation>
<documentation>
Refer to a parent category to nest categories. Empty for a root category.
</documentation>
<appinfo>
<meta.attribute kind="identifier" basedOn="org.eclipse.ease.modules/category/@id"/>
</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>