| <?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="editorProviders" name="Editors Providers Extension Point"/> |
| </appInfo> |
| <documentation> |
| This extension point facilitates the configuration of providers for the editor service (<tt>org.eclipse.gmf.runtime.common.ui.services.editor.EditorService</tt>). Using this extension point, providers are registered to manipulate editors, such as handling how to open an editor on a given input. |
| </documentation> |
| </annotation> |
| |
| <element name="extension"> |
| <complexType> |
| <sequence> |
| <element ref="EditorProvider"/> |
| </sequence> |
| <attribute name="point" type="string" use="required"> |
| <annotation> |
| <documentation> |
| The identifier of the extension point, i.e. <tt>org.eclipse.gmf.runtime.common.ui.services.editorProviders</tt>. |
| </documentation> |
| </annotation> |
| </attribute> |
| <attribute name="id" type="string"> |
| <annotation> |
| <documentation> |
| The identifier of the extension, e.g. <tt>editorProviders</tt>. |
| </documentation> |
| </annotation> |
| </attribute> |
| <attribute name="name" type="string"> |
| <annotation> |
| <documentation> |
| The name of the extension, e.g. <tt>%ext.editorProviders</tt>. |
| </documentation> |
| </annotation> |
| </attribute> |
| </complexType> |
| </element> |
| |
| <element name="EditorProvider"> |
| <complexType> |
| <sequence> |
| <element ref="Priority"/> |
| <element ref="Policy" minOccurs="0" maxOccurs="1"/> |
| </sequence> |
| <attribute name="class" type="string" use="required"> |
| <annotation> |
| <documentation> |
| Fully qualified string containing the provider class. |
| </documentation> |
| <appInfo> |
| <meta.attribute kind="java" basedOn="org.eclipse.gmf.runtime.common.ui.services.editor.AbstractEditorProvider"/> |
| </appInfo> |
| </annotation> |
| </attribute> |
| </complexType> |
| </element> |
| |
| <element name="Priority"> |
| <complexType> |
| <attribute name="name" use="required"> |
| <annotation> |
| <documentation> |
| The provider priority as a String, which is one of 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> |
| Fully qualified string containing the provider class. |
| </documentation> |
| </annotation> |
| </attribute> |
| </complexType> |
| </element> |
| |
| <annotation> |
| <appInfo> |
| <meta.section type="examples"/> |
| </appInfo> |
| <documentation> |
| Following is an example of an editor provider extension: |
| <p> |
| <pre> |
| <extension |
| id="editorProviders" |
| name="%ext.editorProviders" |
| point="org.eclipse.gmf.runtime.common.ui.services.editorProviders"> |
| <EditorProvider |
| class="org.eclipse.test.project.providers.MyDiagramEditorProvider"> |
| <Priority name="Lowest"></Priority> |
| </EditorProvider> |
| </extension> |
| </pre> |
| </p> |
| </documentation> |
| </annotation> |
| |
| <annotation> |
| <appInfo> |
| <meta.section type="apiInfo"/> |
| </appInfo> |
| <documentation> |
| The value of the <tt>class</tt> attribute must represent a subclass of |
| <tt>org.eclipse.gmf.runtime.common.core.service.AbstractProvider</tt> that implements |
| <tt>org.eclipse.gmf.runtime.common.ui.services.editor.IEditorProvider</tt>. |
| </documentation> |
| </annotation> |
| |
| <annotation> |
| <appInfo> |
| <meta.section type="implementation"/> |
| </appInfo> |
| <documentation> |
| |
| </documentation> |
| </annotation> |
| |
| <annotation> |
| <appInfo> |
| <meta.section type="copyright"/> |
| </appInfo> |
| <documentation> |
| Copyright (c) 2004, 2005 IBM Corporation and others.<br> |
| 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 |
| <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a> |
| |
| </documentation> |
| </annotation> |
| |
| </schema> |