blob: bf4cbf748867fc5a3aa564ea208718e772e6e1f5 [file]
<?xml version='1.0' encoding='UTF-8'?>
<!-- Schema file written by PDE -->
<schema targetNamespace="org.eclipse.sirius.common" xmlns="http://www.w3.org/2001/XMLSchema">
<annotation>
<appInfo>
<meta.schema plugin="org.eclipse.sirius.common" id="expressionInterpreter" name="org.eclipse.sirius.common.expressionInterpreter"/>
</appInfo>
<documentation>
This extension points allows client to add specifics interpreters. An interpreters is a component that is able to evaluate an expression on an EMF model.
The expression is a String. The interpreter should know if it can evaluate an expression.
</documentation>
</annotation>
<element name="extension">
<annotation>
<appInfo>
<meta.element />
</appInfo>
</annotation>
<complexType>
<sequence minOccurs="1" maxOccurs="unbounded">
<element ref="expressionInterpreterProvider"/>
</sequence>
<attribute name="point" type="string" use="required">
<annotation>
<documentation>
</documentation>
</annotation>
</attribute>
<attribute name="id" type="string" use="required">
<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="expressionInterpreterProvider">
<annotation>
<documentation>
Declares a new Expression Interpreter
</documentation>
</annotation>
<complexType>
<attribute name="interpreterProviderClass" type="string" use="required">
<annotation>
<documentation>
A class that implements the IInterpreterProvider contract. The class is able to evaluate specific expression on an EMF model.
</documentation>
<appInfo>
<meta.attribute kind="java" basedOn=":org.eclipse.sirius.common.tools.api.interpreter.IInterpreterProvider"/>
</appInfo>
</annotation>
</attribute>
</complexType>
</element>
<annotation>
<appInfo>
<meta.section type="copyright"/>
</appInfo>
<documentation>
Copyright (c) 2007, 2009 THALES GLOBAL SERVICES&lt;br&gt;
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
&lt;a href=&quot;http://www.eclipse.org/legal/epl-v10.html&quot;&gt;http://www.eclipse.org/legal/epl-v10.html&lt;/a&gt;
</documentation>
</annotation>
</schema>