blob: 32e4640c3af790f73e5158a3e66349266fc7b284 [file]
<?xml version='1.0' encoding='UTF-8'?>
<!-- Schema file written by PDE -->
<schema targetNamespace="org.eclipse.viatra.query.runtime" xmlns="http://www.w3.org/2001/XMLSchema">
<annotation>
<appInfo>
<meta.schema plugin="org.eclipse.viatra.query.runtime" id="surrogatequeryemf" name="VIATRA Surrogate Query for EMF Derived Features"/>
</appInfo>
<documentation>
This extension point can be used to register surrogate queries for derived features.
</documentation>
</annotation>
<element name="extension">
<annotation>
<appInfo>
<meta.element />
</appInfo>
</annotation>
<complexType>
<sequence minOccurs="0" maxOccurs="unbounded">
<element ref="surrogate-query-emf"/>
</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="surrogate-query-emf">
<complexType>
<attribute name="package-nsUri" type="string" use="required">
<annotation>
<documentation>
The namespace URI of the EPackage that contains features replaced with surrogate queries.
</documentation>
</annotation>
</attribute>
<attribute name="class-name" type="string" use="required">
<annotation>
<documentation>
The name of the EClass that contains features replaced with surrogate queries.
</documentation>
</annotation>
</attribute>
<attribute name="feature-name" type="string" use="required">
<annotation>
<documentation>
The name of the EStructuralFeature that is replaced with surrogate query.
</documentation>
</annotation>
</attribute>
<attribute name="query-fqn" type="string">
<annotation>
<documentation>
The fully qualified name of the query implementing the feature.
</documentation>
</annotation>
</attribute>
<attribute name="surrogate-query" type="string" use="required">
<annotation>
<documentation>
The query that implements the surrogate functionality.
</documentation>
<appInfo>
<meta.attribute kind="java" basedOn=":org.eclipse.viatra.query.runtime.matchers.psystem.queries.PQuery"/>
</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>