| <?xml version='1.0' encoding='UTF-8'?> |
| <!-- Schema file written by PDE --> |
| <schema targetNamespace="org.eclipse.gendoc.process" xmlns="http://www.w3.org/2001/XMLSchema"> |
| <annotation> |
| <appinfo> |
| <meta.schema plugin="org.eclipse.gendoc.process" id="org.eclipse.gendoc.processes" name="Gendoc Processes"/> |
| </appinfo> |
| <documentation> |
| The tags extension point allows third-party plug-ins to define new processes to be run by Gendoc. |
| </documentation> |
| </annotation> |
| |
| <element name="extension"> |
| <annotation> |
| <appinfo> |
| <meta.element /> |
| </appinfo> |
| </annotation> |
| <complexType> |
| <sequence> |
| <element ref="process" minOccurs="0" maxOccurs="unbounded"/> |
| </sequence> |
| <attribute name="point" type="string" use="required"> |
| <annotation> |
| <documentation> |
| a fully qualified identifier of the target extension point. |
| </documentation> |
| </annotation> |
| </attribute> |
| <attribute name="id" type="string"> |
| <annotation> |
| <documentation> |
| an optional identifier of the extension instance. |
| </documentation> |
| </annotation> |
| </attribute> |
| <attribute name="name" type="string"> |
| <annotation> |
| <documentation> |
| an optional name of the extension instance. |
| </documentation> |
| <appinfo> |
| <meta.attribute translatable="true"/> |
| </appinfo> |
| </annotation> |
| </attribute> |
| </complexType> |
| </element> |
| |
| <element name="process"> |
| <complexType> |
| <sequence> |
| <element ref="predecessor" minOccurs="0" maxOccurs="unbounded"/> |
| <element ref="successor" minOccurs="0" maxOccurs="unbounded"/> |
| </sequence> |
| <attribute name="id" type="string" use="required"> |
| <annotation> |
| <documentation> |
| a unique id that will be used to identify this process. |
| </documentation> |
| </annotation> |
| </attribute> |
| <attribute name="label" type="string" use="required"> |
| <annotation> |
| <documentation> |
| the label that should be displayed on a progress monitor whil this process is running. |
| </documentation> |
| </annotation> |
| </attribute> |
| <attribute name="processor" type="string"> |
| <annotation> |
| <documentation> |
| the fully qualified name of a class that implements <samp>org.eclipse.gendoc.process.IProcess</samp>. |
| </documentation> |
| <appinfo> |
| <meta.attribute kind="java"/> |
| </appinfo> |
| </annotation> |
| </attribute> |
| <attribute name="parallel" type="boolean" use="default" value="false"> |
| <annotation> |
| <documentation> |
| indicates if this process can be run in parallel with other processes. |
| </documentation> |
| </annotation> |
| </attribute> |
| <attribute name="priority" use="required"> |
| <annotation> |
| <documentation> |
| indicates the priority of this process. Processes with a higher priority will run earlier. |
| </documentation> |
| </annotation> |
| <simpleType> |
| <restriction base="string"> |
| <enumeration value="NORMAL"> |
| </enumeration> |
| <enumeration value="HIGH"> |
| </enumeration> |
| <enumeration value="ABOVE_NORMAL"> |
| </enumeration> |
| <enumeration value="BELOW_NORMAL"> |
| </enumeration> |
| <enumeration value="LOW"> |
| </enumeration> |
| </restriction> |
| </simpleType> |
| </attribute> |
| </complexType> |
| </element> |
| |
| <element name="predecessor"> |
| <complexType> |
| <attribute name="ref" type="string"> |
| <annotation> |
| <documentation> |
| the id of a process that must run before this process. |
| </documentation> |
| <appinfo> |
| <meta.attribute kind="identifier" basedOn="org.eclipse.gendoc.processes/process/@id"/> |
| </appinfo> |
| </annotation> |
| </attribute> |
| </complexType> |
| </element> |
| |
| <element name="successor"> |
| <complexType> |
| <attribute name="ref" type="string"> |
| <annotation> |
| <documentation> |
| the id of a process that must after before this process. |
| </documentation> |
| <appinfo> |
| <meta.attribute kind="identifier" basedOn="org.eclipse.gendoc.processes/process/@id"/> |
| </appinfo> |
| </annotation> |
| </attribute> |
| </complexType> |
| </element> |
| |
| <annotation> |
| <appinfo> |
| <meta.section type="since"/> |
| </appinfo> |
| <documentation> |
| 1.1.0 |
| </documentation> |
| </annotation> |
| |
| <annotation> |
| <appinfo> |
| <meta.section type="examples"/> |
| </appinfo> |
| <documentation> |
| The following is an example of the tags extension point usage: |
| <p> |
| <pre> |
| <extension |
| point="org.eclipse.gendoc.processes"> |
| <process |
| id="example" |
| label="Running example process" |
| parallel="false" |
| priority="NORMAL" |
| processor="com.example.Gendoc.ExampleProcess"> |
| <predecessor |
| ref="generate"> |
| </predecessor> |
| <successor |
| ref="save"> |
| </successor> |
| </process> |
| </extension> |
| </pre> |
| </p> |
| <p> |
| This defines an <samp>example</samp> process that will run after the <samp>generate</samp> process and before the <samp>save</samp> process. The <samp>run()</samp> method of the processor class will be called by Gendoc. |
| </documentation> |
| </annotation> |
| |
| <annotation> |
| <appinfo> |
| <meta.section type="apiinfo"/> |
| </appinfo> |
| <documentation> |
| Plug-ins that want to extend this extension point must provide a processor that implements the the <samp>org.eclipse.gendoc.process.IProcess</samp> interface. A common practice is to extend <samp>org.eclipse.gendoc.process.AbstractProcess</samp> or one of it's subclasses in order to inherit their functionality. |
| </documentation> |
| </annotation> |
| |
| <annotation> |
| <appinfo> |
| <meta.section type="implementation"/> |
| </appinfo> |
| <documentation> |
| Gendoc provides a number of processes including <samp>generate</samp>, <samp>drop</samp>, and <samp>save</samp>. |
| </documentation> |
| </annotation> |
| |
| <annotation> |
| <appinfo> |
| <meta.section type="copyright"/> |
| </appinfo> |
| <documentation> |
| Copyright (c) 2010 Atos Origin.<br> |
| All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a> |
| </documentation> |
| </annotation> |
| |
| </schema> |