| <?xml version='1.0' encoding='UTF-8'?> |
| <!-- Schema file written by PDE --> |
| <schema targetNamespace="org.eclipse.qvt.declarative.execution.ide" xmlns="http://www.w3.org/2001/XMLSchema"> |
| <annotation> |
| <appinfo> |
| <meta.schema plugin="org.eclipse.qvt.declarative.execution.ide" id="executionProvider" name="Execution Provider"/> |
| </appinfo> |
| <documentation> |
| This extension point is used to register QVT execution engine. A QVT execution engine provides an implementation of the <code>org.eclipse.qvt.declarative.execution.ExecutionProvider.execute</code> method which is able to execute the transformation. To do so, it may rely on a compiler to having produced files containing a description of the instructions to perform (see <code>org.eclipse.qvt.declarative.compilation.ide</code>). |
| </documentation> |
| </annotation> |
| |
| <element name="extension"> |
| <annotation> |
| <appinfo> |
| <meta.element /> |
| </appinfo> |
| </annotation> |
| <complexType> |
| <sequence minOccurs="1" maxOccurs="unbounded"> |
| <element ref="executionProvider"/> |
| </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="executionProvider"> |
| <complexType> |
| <attribute name="class" type="string" use="required"> |
| <annotation> |
| <documentation> |
| The fully qualified name of a Java class implementing <code>org.eclipse.qvt.declarative.execution.ExecutionProvider</code>. |
| </documentation> |
| <appinfo> |
| <meta.attribute kind="java" basedOn=":org.eclipse.qvt.declarative.execution.ExecutionProvider"/> |
| </appinfo> |
| </annotation> |
| </attribute> |
| <attribute name="priority" use="default" value="normal"> |
| <annotation> |
| <documentation> |
| The priority of this provider. Values can be <code>lowest</code>, <code>low</code>, <code>normal</code>, <code>high</code>, <code>highest</code>. |
| </documentation> |
| </annotation> |
| <simpleType> |
| <restriction base="string"> |
| <enumeration value="lowest"> |
| </enumeration> |
| <enumeration value="low"> |
| </enumeration> |
| <enumeration value="normal"> |
| </enumeration> |
| <enumeration value="high"> |
| </enumeration> |
| <enumeration value="highest"> |
| </enumeration> |
| </restriction> |
| </simpleType> |
| </attribute> |
| </complexType> |
| </element> |
| |
| <annotation> |
| <appinfo> |
| <meta.section type="since"/> |
| </appinfo> |
| <documentation> |
| 0.7.0 |
| </documentation> |
| </annotation> |
| |
| <annotation> |
| <appinfo> |
| <meta.section type="examples"/> |
| </appinfo> |
| <documentation> |
| Following is an example of how execution engine can be registered: |
| <pre> |
| <extension point="org.eclipse.qvt.declarative.execution.ide.executionProvider"> |
| <executionProvider |
| class="com.example.MyExecutionEngine" |
| priority="low"> |
| </executionProvider> |
| </extension> |
| </pre> |
| </documentation> |
| </annotation> |
| |
| <annotation> |
| <appinfo> |
| <meta.section type="apiinfo"/> |
| </appinfo> |
| <documentation> |
| The value of the <tt>class</tt> attribute must be the qualified name of an extension of the <tt>org.eclipse.qvt.declarative.execution.ExecutionProvider</tt> class, that provides a constructor without any arguments. |
| |
| The value of the <tt>priority</tt> attribute must be a string either lowest, low, normal, high, highest describing an ordering on providers. |
| </documentation> |
| </annotation> |
| |
| |
| <annotation> |
| <appinfo> |
| <meta.section type="copyright"/> |
| </appinfo> |
| <documentation> |
| Copyright (c) 2007, 2008 Obeo. |
| 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 |
| http://www.eclipse.org/legal/epl-v10.html |
| </documentation> |
| </annotation> |
| |
| </schema> |