| <?xml version='1.0' encoding='UTF-8'?> | |
| <!-- Schema file written by PDE --> | |
| <schema targetNamespace="org.eclipse.sphinx.emf" xmlns="http://www.w3.org/2001/XMLSchema"> | |
| <annotation> | |
| <appInfo> | |
| <meta.schema plugin="org.eclipse.sphinx.emf" id="metaModelServices" name="MetaModelServices"/> | |
| </appInfo> | |
| <documentation> | |
| Enables the contribution of a meta-model specific services. | |
| </documentation> | |
| </annotation> | |
| <element name="extension"> | |
| <annotation> | |
| <appInfo> | |
| <meta.element /> | |
| </appInfo> | |
| </annotation> | |
| <complexType> | |
| <sequence minOccurs="1" maxOccurs="unbounded"> | |
| <element ref="service"/> | |
| </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="service"> | |
| <complexType> | |
| <sequence> | |
| <element ref="applicableFor" minOccurs="1" maxOccurs="unbounded"/> | |
| </sequence> | |
| <attribute name="id" type="string" use="required"> | |
| <annotation> | |
| <documentation> | |
| The id of the service. | |
| </documentation> | |
| </annotation> | |
| </attribute> | |
| <attribute name="class" type="string" use="required"> | |
| <annotation> | |
| <documentation> | |
| The class that implements the MM service, should be an instanceof IMetaModelService. | |
| </documentation> | |
| <appInfo> | |
| <meta.attribute kind="java" basedOn="org.eclipse.sphinx.emf.metamodel.services.AbstractMetaModelService:org.eclipse.sphinx.emf.metamodel.services.IMetaModelService"/> | |
| </appInfo> | |
| </annotation> | |
| </attribute> | |
| <attribute name="type" type="string" use="required"> | |
| <annotation> | |
| <documentation> | |
| The type of the service. | |
| </documentation> | |
| <appInfo> | |
| <meta.attribute kind="java" basedOn="org.eclipse.sphinx.emf.metamodel.services.IMetaModelService:"/> | |
| </appInfo> | |
| </annotation> | |
| </attribute> | |
| <attribute name="override" type="string"> | |
| <annotation> | |
| <documentation> | |
| The id of the service to be override. | |
| </documentation> | |
| </annotation> | |
| </attribute> | |
| </complexType> | |
| </element> | |
| <element name="applicableFor"> | |
| <complexType> | |
| <attribute name="metaModelDescriptorIdPattern" type="string" use="required"> | |
| <annotation> | |
| <documentation> | |
| The matching pattern for identifier of meta-model descriptor. | |
| </documentation> | |
| </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> |