blob: f221fd70ddc5811d90833612c31d760babc2548c [file] [log] [blame]
<?xml version='1.0' encoding='UTF-8'?>
<!-- Schema file written by PDE -->
<schema targetNamespace="org.eclipse.sphinx.emf.validation" xmlns="http://www.w3.org/2001/XMLSchema">
<annotation>
<appInfo>
<meta.schema plugin="org.eclipse.sphinx.emf.validation" id="org.eclipse.sphinx.emf.validation.registration" name="org.eclipse.sphinx.emf.validation.registration"/>
</appInfo>
<documentation>
This extension point register a meta-model to the validation framework.
All objects of the registered meta-model must(should) specilize a &apos;model&apos; object that will be identified into any contribution to this
extension point. If not, defined constraint on object without inheritance from it will not be launched.
</documentation>
</annotation>
<element name="extension">
<annotation>
<appInfo>
<meta.element />
</appInfo>
</annotation>
<complexType>
<sequence>
<element ref="model" 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="model">
<annotation>
<appInfo>
<meta.element labelAttribute="Name"/>
</appInfo>
</annotation>
<complexType>
<attribute name="id" type="string" use="required">
<annotation>
<documentation>
and unique identifiant in order to identify this model registration.
</documentation>
</annotation>
</attribute>
<attribute name="Name" type="string">
<annotation>
<documentation>
a understable name for the registered model.
</documentation>
<appInfo>
<meta.attribute translatable="true"/>
</appInfo>
</annotation>
</attribute>
<attribute name="NsURI" type="string" use="required">
<annotation>
<documentation>
the namespace URI of the EMF package containing the object defined with the &apos;class&apos; attribute.
</documentation>
</annotation>
</attribute>
<attribute name="class" type="string" use="required">
<annotation>
<documentation>
The top level Object of the Meta-model.
</documentation>
<appInfo>
<meta.attribute kind="java"/>
</appInfo>
</annotation>
</attribute>
<attribute name="validatorAdapterClass" type="string">
<annotation>
<documentation>
Custom implementation of the validator adapter.
</documentation>
<appInfo>
<meta.attribute kind="java" basedOn="org.eclipse.sphinx.emf.validation.evalidator.adapter.EValidatorAdapter:"/>
</appInfo>
</annotation>
</attribute>
<attribute name="filter" type="string" use="required">
<annotation>
<documentation>
</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>
[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>
<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 v2.0
which accompanies this distribution, and is available at
https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.html
Contributors:
See4sys - Initial API and implementation
</documentation>
</annotation>
</schema>