blob: 509c03ab2c758f6b33f124860af0c0244d34e159 [file] [log] [blame]
<?xml version='1.0' encoding='UTF-8'?>
<!-- Schema file written by PDE -->
<schema targetNamespace="org.eclipse.ocl.xtext.completeocl" xmlns="http://www.w3.org/2001/XMLSchema">
<annotation>
<appInfo>
<meta.schema plugin="org.eclipse.ocl.xtext.completeocl" id="complete_ocl_registry" name="Complete OCL Registry"/>
</appInfo>
<documentation>
The complete OCL Registry allows clients to register their completeOCL files so that they can be reused to validate workspace models when the contributing plugin is installed.
</documentation>
</annotation>
<element name="extension">
<annotation>
<appInfo>
<meta.element />
</appInfo>
</annotation>
<complexType>
<sequence minOccurs="1" maxOccurs="unbounded">
<element ref="document"/>
</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="document">
<annotation>
<documentation>
Declaration of a Complete OCL document
</documentation>
</annotation>
<complexType>
<sequence minOccurs="1" maxOccurs="unbounded">
<element ref="for"/>
</sequence>
<attribute name="resource" type="string" use="required">
<annotation>
<documentation>
The Complete OCL file.
</documentation>
<appInfo>
<meta.attribute kind="resource"/>
</appInfo>
</annotation>
</attribute>
</complexType>
</element>
<element name="for">
<annotation>
<documentation>
Declaration of one of the Namepsace URIs for which the Complete OCL document contrubutes additional OCL rules.
</documentation>
</annotation>
<complexType>
<attribute name="uri" type="string" use="required">
<annotation>
<documentation>
A Namespace URI for which the OCL dcoument may be used.
</documentation>
</annotation>
</attribute>
</complexType>
</element>
<annotation>
<appInfo>
<meta.section type="since"/>
</appInfo>
<documentation>
3.4.0
</documentation>
</annotation>
<annotation>
<appInfo>
<meta.section type="examples"/>
</appInfo>
<documentation>
This could be used to register the CompleteOCL file &quot;EcoreValidation.ocl&quot; located within a &quot;model&quot; subfolder at the root of the plugin :
&lt;extension point=&quot;org.eclipse.ocl.xtext.completeocl.complete_ocl_registry&quot;&gt;
&lt;completeOCLResource resource=&quot;model/EcoreValidation.ocl&quot;&gt;
&lt;/completeOCLResource&gt;
</documentation>
</annotation>
<annotation>
<appInfo>
<meta.section type="copyright"/>
</appInfo>
<documentation>
Copyright (c) 2013 Obeo 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 &lt;a
href=&quot;http://www.eclipse.org/legal/epl-v20.html&quot;&gt;http://www.eclipse.org/legal/epl-v20.html&lt;/a&gt;
</documentation>
</annotation>
</schema>