blob: db427b3079cc450d6e93a0034631b477d314c71f [file] [log] [blame]
<?xml version='1.0' encoding='UTF-8'?>
<!-- Schema file written by PDE -->
<schema targetNamespace="org.eclipse.gmf.runtime.common.ui.services">
<annotation>
<appInfo>
<meta.schema plugin="org.eclipse.gmf.runtime.common.ui.services" id="parserProviders" name="Parser Providers Extension Point"/>
</appInfo>
<documentation>
This extension point is used to define parser providers for the parser service
(&lt;tt&gt;org.eclipse.gmf.runtime.common.ui.services.parser.ParserService&lt;/tt&gt;).
&lt;p&gt;
The parser service supplies and applies text associated with a given element.
</documentation>
</annotation>
<element name="extension">
<complexType>
<sequence>
<element ref="ParserProvider"/>
</sequence>
<attribute name="point" type="string" use="required">
<annotation>
<documentation>
The identifier of the extension point, i.e. &lt;tt&gt;org.eclipse.gmf.runtime.common.ui.services.parserProviders&lt;/tt&gt;.
</documentation>
</annotation>
</attribute>
<attribute name="id" type="string">
<annotation>
<documentation>
The identifier of the extension, e.g. &lt;tt&gt;parserProviders&lt;/tt&gt;.
</documentation>
</annotation>
</attribute>
<attribute name="name" type="string">
<annotation>
<documentation>
The name of the extension, e.g. &lt;tt&gt;%ext.parserProviders&lt;/tt&gt;.
</documentation>
</annotation>
</attribute>
</complexType>
</element>
<element name="ParserProvider">
<complexType>
<sequence>
<element ref="Priority"/>
<element ref="Policy" minOccurs="0" maxOccurs="1"/>
</sequence>
<attribute name="class" type="string" use="required">
<annotation>
<documentation>
The provider class.
</documentation>
<appInfo>
<meta.attribute kind="java" basedOn="org.eclipse.gmf.runtime.common.ui.services.parser.IParserProvider"/>
</appInfo>
</annotation>
</attribute>
</complexType>
</element>
<element name="Priority">
<complexType>
<attribute name="name" use="required">
<annotation>
<documentation>
The name of the provider priority, i.e. Lowest, Low, Medium, High, or Highest.
</documentation>
</annotation>
<simpleType>
<restriction base="string">
<enumeration value="Lowest">
</enumeration>
<enumeration value="Low">
</enumeration>
<enumeration value="Medium">
</enumeration>
<enumeration value="High">
</enumeration>
<enumeration value="Highest">
</enumeration>
</restriction>
</simpleType>
</attribute>
</complexType>
</element>
<element name="Policy">
<complexType>
<attribute name="class" type="string" use="required">
<annotation>
<documentation>
The provider policy class.
</documentation>
</annotation>
</attribute>
</complexType>
</element>
<annotation>
<appInfo>
<meta.section type="examples"/>
</appInfo>
<documentation>
Following is an example of a parser provider extension:
&lt;p&gt;
&lt;pre&gt;
&lt;extension
id=&quot;parserProviders&quot;
name=&quot;%ext.parserProviders&quot;
point=&quot;org.eclipse.gmf.runtime.common.ui.services.parserProviders&quot;&gt;
&lt;ParserProvider
class=&quot;org.eclipse.test.project.providers.parser.MyParserProvider&quot;&gt;
&lt;Priority name=&quot;Lowest&quot;&gt;&lt;/Priority&gt;
&lt;/ParserProvider&gt;
&lt;/extension&gt;
&lt;/pre&gt;
&lt;/p&gt;
</documentation>
</annotation>
<annotation>
<appInfo>
<meta.section type="apiInfo"/>
</appInfo>
<documentation>
The value of the class attribute must be the fully qualified name of
a class that implements &lt;tt&gt;org.eclipse.gmf.runtime.common.core.services.parser.IParserProvider&lt;/tt&gt;.
</documentation>
</annotation>
<annotation>
<appInfo>
<meta.section type="implementation"/>
</appInfo>
<documentation>
</documentation>
</annotation>
<annotation>
<appInfo>
<meta.section type="copyright"/>
</appInfo>
<documentation>
Copyright (c) 2003, 2005 IBM Corporation and others.&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>