<?xml version='1.0' encoding='UTF-8'?> | |
<!-- Schema file written by PDE --> | |
<schema targetNamespace="org.eclipse.modisco.workflow" xmlns="http://www.w3.org/2001/XMLSchema"> | |
<annotation> | |
<appInfo> | |
<meta.schema plugin="org.eclipse.modisco.workflow" id="engine" name="WorkflowEngine"/> | |
</appInfo> | |
<documentation> | |
This extension point allows to add a new type of Workflow. It consists in a workflow engine, configured through "workflowExecution", and a workflow model item definition configured through "workflowCore" to bridge its internal representation with the MoDiscoWorkflow representation. | |
</documentation> | |
</annotation> | |
<element name="extension"> | |
<annotation> | |
<appInfo> | |
<meta.element /> | |
</appInfo> | |
<documentation> | |
This extension point allows to add a new type of Workflow.<br/> | |
To do this, you define:<ul> | |
<li>a workflow engine, configured through "workflowExecution" | |
<li>a workflow model item definition configured through "workflowCore" to bridge its internal representation with the MoDiscoWorkflow representation | |
</ul> | |
</documentation> | |
</annotation> | |
<complexType> | |
<sequence> | |
<element ref="workflowCore"/> | |
<element ref="workflowExecution"/> | |
</sequence> | |
<attribute name="point" type="string" use="required"> | |
<annotation> | |
<documentation> | |
</documentation> | |
</annotation> | |
</attribute> | |
<attribute name="id" type="string" use="required"> | |
<annotation> | |
<documentation> | |
Id of workflow | |
</documentation> | |
</annotation> | |
</attribute> | |
<attribute name="name" type="string"> | |
<annotation> | |
<documentation> | |
</documentation> | |
<appInfo> | |
<meta.attribute translatable="true"/> | |
</appInfo> | |
</annotation> | |
</attribute> | |
</complexType> | |
</element> | |
<element name="workflowCore"> | |
<annotation> | |
<documentation> | |
Provides a workflow model item definition. | |
</documentation> | |
</annotation> | |
<complexType> | |
<attribute name="name" type="string" use="required"> | |
<annotation> | |
<documentation> | |
Name of workflow technology | |
</documentation> | |
<appInfo> | |
<meta.attribute translatable="true"/> | |
</appInfo> | |
</annotation> | |
</attribute> | |
<attribute name="class" type="string" use="required"> | |
<annotation> | |
<documentation> | |
The class has to implement interface org.eclipse.modisco.workflow.core.WorkflowModel | |
</documentation> | |
<appInfo> | |
<meta.attribute kind="java" basedOn=":org.eclipse.modisco.workflow.core.WorkflowModel"/> | |
</appInfo> | |
</annotation> | |
</attribute> | |
</complexType> | |
</element> | |
<element name="workflowExecution"> | |
<annotation> | |
<documentation> | |
Defines a workflow engine. | |
</documentation> | |
</annotation> | |
<complexType> | |
<attribute name="class" type="string" use="required"> | |
<annotation> | |
<documentation> | |
The class has to implement interface org.eclipse.modisco.workflow.core.WorkflowExecution | |
</documentation> | |
<appInfo> | |
<meta.attribute kind="java" basedOn=":org.eclipse.modisco.workflow.core.WorkflowExecution"/> | |
</appInfo> | |
</annotation> | |
</attribute> | |
</complexType> | |
</element> | |
<annotation> | |
<appInfo> | |
<meta.section type="since"/> | |
</appInfo> | |
<documentation> | |
0.9.0 | |
</documentation> | |
</annotation> | |
<annotation> | |
<appInfo> | |
<meta.section type="examples"/> | |
</appInfo> | |
<documentation> | |
Here is an example of how to define an engine: | |
<pre> | |
<extension point="org.eclipse.modisco.workflow.engine" id="org.eclipse.modisco.workflow.defaultengine"> | |
<workflowCore | |
name="MoDisco default Workflow Engine" | |
class="org.eclipse.modisco.workflow.core.internal.defaultengine.WorkflowModelImpl"/> | |
<workflowExecution | |
class="org.eclipse.modisco.workflow.core.internal.defaultengine.WorkflowExecutionImpl"/> | |
</extension> | |
</pre> | |
</documentation> | |
</annotation> | |
<annotation> | |
<appInfo> | |
<meta.section type="apiinfo"/> | |
</appInfo> | |
<documentation> | |
A workflow engine must implement:<ul> | |
<li>org.eclipse.modisco.workflow.core.WorkflowModel | |
<li>org.eclipse.modisco.workflow.core.WorkflowExecution | |
</ul> | |
</documentation> | |
</annotation> | |
<annotation> | |
<appInfo> | |
<meta.section type="implementation"/> | |
</appInfo> | |
<documentation> | |
see the default implementation:<ul> | |
<li>org.eclipse.modisco.workflow.core.internal.defaultengine.WorkflowModelImpl | |
<li>org.eclipse.modisco.workflow.core.internal.defaultengine.WorkflowExecutionImpl | |
</ul> | |
</documentation> | |
</annotation> | |
<annotation> | |
<appInfo> | |
<meta.section type="copyright"/> | |
</appInfo> | |
<documentation> | |
Copyright (c) 2011 Mia-Software and others. | |
All rights reserved. This program and the accompanying materials | |
are made available under the terms of the Eclipse Public License v2.0 | |
which accompanies this distribution, and is available at | |
http://www.eclipse.org/legal/epl-v20.html | |
</documentation> | |
</annotation> | |
</schema> |