blob: 0f54d3a6c07779bb275d608c276b3add72709f93 [file] [log] [blame]
<?xml version='1.0' encoding='UTF-8'?>
<!-- Schema file written by PDE -->
<schema targetNamespace="org.eclipse.modisco.kdm.source.extension.ui" xmlns="http://www.w3.org/2001/XMLSchema">
<annotation>
<appinfo>
<meta.schema plugin="org.eclipse.modisco.kdm.source.extension.ui" id="org.eclipse.modisco.kdm.source.extension.ui.strategy.source" name="strategySource"/>
</appinfo>
<documentation>
This extension point allows the user to register a strategy to retrieve an ASTNodeSourceRegion from an eObject
</documentation>
</annotation>
<element name="extension">
<annotation>
<appinfo>
<meta.element />
</appinfo>
</annotation>
<complexType>
<sequence>
<element ref="source.strategy" 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="source.strategy">
<annotation>
<documentation>
Source Strategies are used to retrieve information such as the position of some piece of code corresponding to a model element
</documentation>
</annotation>
<complexType>
<attribute name="meta-model" type="string" use="required">
<annotation>
<documentation>
The meta-model this strategy is applicable to
</documentation>
</annotation>
</attribute>
<attribute name="class" type="string" use="required">
<annotation>
<documentation>
The class which implement a source strategy
</documentation>
<appinfo>
<meta.attribute kind="java" basedOn=":org.eclipse.modisco.kdm.source.extension.ui.actions.SourceStrategy"/>
</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>