blob: a86e4df57dd02638cc7bb3a5d248c48acb32b397 [file] [log] [blame]
<?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="metaModelDescriptors" name="Meta Model Descriptors"/>
</appInfo>
<documentation>
This extension point allows the contribution of a Meta-Model Descriptor.
</documentation>
</annotation>
<element name="extension">
<annotation>
<appInfo>
<meta.element />
</appInfo>
</annotation>
<complexType>
<sequence>
<choice minOccurs="1" maxOccurs="unbounded">
<element ref="descriptor"/>
<element ref="contentTypeAssociation"/>
<element ref="targetDescriptorProvider"/>
</choice>
</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="descriptor">
<complexType>
<attribute name="id" type="string" use="required">
<annotation>
<documentation>
The meta-model descriptor identifier.
</documentation>
</annotation>
</attribute>
<attribute name="class" type="string" use="required">
<annotation>
<documentation>
</documentation>
<appInfo>
<meta.attribute kind="java" basedOn="org.eclipse.sphinx.emf.metamodel.AbstractMetaModelDescriptor:org.eclipse.sphinx.emf.metamodel.IMetaModelDescriptor"/>
</appInfo>
</annotation>
</attribute>
</complexType>
</element>
<element name="contentTypeAssociation">
<complexType>
<attribute name="metaModelDescriptorId" type="string" use="required">
<annotation>
<documentation>
</documentation>
</annotation>
</attribute>
<attribute name="contentTypeId" type="string" use="required">
<annotation>
<documentation>
</documentation>
</annotation>
</attribute>
</complexType>
</element>
<element name="targetDescriptorProvider">
<annotation>
<documentation>
Contribute a provider in charge of retrieving target metamodel descriptor.
</documentation>
</annotation>
<complexType>
<sequence>
<choice minOccurs="1" maxOccurs="unbounded">
<element ref="fileType"/>
<element ref="contentType"/>
</choice>
</sequence>
<attribute name="id" type="string" use="required">
<annotation>
<documentation>
The target meta-model descriptor provider identifier.
</documentation>
</annotation>
</attribute>
<attribute name="class" type="string" use="required">
<annotation>
<documentation>
The target meta-model descriptor instance class.
</documentation>
<appInfo>
<meta.attribute kind="java" basedOn=":org.eclipse.sphinx.emf.metamodel.ITargetMetaModelDescriptorProvider"/>
</appInfo>
</annotation>
</attribute>
<attribute name="override" type="string">
<annotation>
<documentation>
The fully qualified identifier of the target meta model descriptor provider to override. When specified, current contributed target meta model descriptor provider will replace the one identified by the specified ID.
</documentation>
</annotation>
</attribute>
</complexType>
</element>
<element name="contentType">
<complexType>
<attribute name="id" type="string" use="required">
<annotation>
<documentation>
The contentype id for the one the provider will be linked to.
</documentation>
</annotation>
</attribute>
</complexType>
</element>
<element name="fileType">
<complexType>
<attribute name="extension" type="string" use="required">
<annotation>
<documentation>
The file extension for the one the provider will be linked to.
</documentation>
</annotation>
</attribute>
</complexType>
</element>
<annotation>
<appInfo>
<meta.section type="since"/>
</appInfo>
<documentation>
0.7.0
</documentation>
</annotation>
<annotation>
<appInfo>
<meta.section type="examples"/>
</appInfo>
<documentation>
&lt;extension point=&quot;org.eclipse.sphinx.emf.metaModelDescriptors&quot;&gt;
&lt;descriptor
id=&quot;org.example.mymetamodel&quot;
class=&quot;org.example.mymetamodel.MyMMDescriptor&quot;/&gt;
&lt;/extension&gt;
</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>
<annotation>
<appInfo>
<meta.section type="copyright"/>
</appInfo>
<documentation>
Copyright (c) 2008-2010 See4sys and others.
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
Contributors:
See4sys - Initial API and implementation
</documentation>
</annotation>
</schema>