blob: 13f1822700db1a6a96d0839fbb4daa335a95ddff [file] [log] [blame]
<?xml version='1.0' encoding='UTF-8'?>
<schema targetNamespace="org.eclipse.gmf.examples.runtime.common.service">
<annotation>
<appInfo>
<meta.schema plugin="org.eclipse.gmf.examples.runtime.common.service" id="widgetProviders" name="Widget Providers Extension Point"/>
</appInfo>
<documentation>
</documentation>
</annotation>
<element name="extension">
<complexType>
<sequence>
<element ref="widgetProvider"/>
</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>
</annotation>
</attribute>
</complexType>
</element>
<element name="widgetProvider">
<annotation>
<documentation>
The widget provider description tag. A provider&apos;s description outlines zero or more objects to be referenced by the provider&apos;s contexts, and then lists zero or more contexts supported by the provider.
</documentation>
</annotation>
<complexType>
<sequence>
<element ref="Priority"/>
<element ref="orderSize"/>
</sequence>
<attribute name="class" type="string" use="required">
<annotation>
<documentation>
The fully qualified name of the widget provider class
</documentation>
</annotation>
</attribute>
</complexType>
</element>
<element name="Priority">
<annotation>
<documentation>
The description for the priority of the widget provider
</documentation>
</annotation>
<complexType>
<attribute name="name" use="required">
<annotation>
<documentation>
The priority of the provider. It can be one of the following values: Lowest, Low, Medium, High, Highest. Consideration of dependencies has to be done when choosing the priority. A provider at a higher priority will take a chance first at deciding provision.
</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="orderSize">
<complexType>
<attribute name="max" type="string" use="required">
<annotation>
<documentation>
The maximum order size that this provider can handle.
</documentation>
</annotation>
</attribute>
<attribute name="min" type="string" use="required">
<annotation>
<documentation>
The minimum order size that this provider will take.
</documentation>
</annotation>
</attribute>
</complexType>
</element>
<annotation>
<appInfo>
<meta.section type="since"/>
</appInfo>
<documentation>
</documentation>
</annotation>
<annotation>
<appInfo>
<meta.section type="examples"/>
</appInfo>
<documentation>
</documentation>
</annotation>
<annotation>
<appInfo>
<meta.section type="apiInfo"/>
</appInfo>
<documentation>
</documentation>
</annotation>
<annotation>
<appInfo>
<meta.section type="implementation"/>
</appInfo>
<documentation>
</documentation>
</annotation>
<annotation>
<appInfo>
<meta.section type="copyright"/>
</appInfo>
<documentation>
Copyright (c) 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>