| <?xml version='1.0' encoding='UTF-8'?> |
| <!-- Schema file written by PDE --> |
| <schema targetNamespace="org.eclipse.graphiti.ui" xmlns="http://www.w3.org/2001/XMLSchema"> |
| <annotation> |
| <appInfo> |
| <meta.schema plugin="org.eclipse.graphiti.ui" id="diagramTypeProviders" name="Diagram Type Providers"/> |
| </appInfo> |
| <documentation> |
| Customers of Graphiti can use this extension point to register their own diagram type providers. |
| </documentation> |
| </annotation> |
| |
| <element name="extension"> |
| <annotation> |
| <appInfo> |
| <meta.element /> |
| </appInfo> |
| </annotation> |
| <complexType> |
| <sequence> |
| <element ref="diagramTypeProvider" minOccurs="0" maxOccurs="unbounded"/> |
| </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="diagramTypeProvider"> |
| <annotation> |
| <appInfo> |
| <meta.element labelAttribute="id"/> |
| </appInfo> |
| </annotation> |
| <complexType> |
| <sequence minOccurs="0" maxOccurs="unbounded"> |
| <element ref="diagramType"/> |
| <element ref="imageProvider"/> |
| </sequence> |
| <attribute name="id" type="string" use="required"> |
| <annotation> |
| <documentation> |
| a unique name in the Eclipse environment that will be used to identify this diagram type provider |
| </documentation> |
| </annotation> |
| </attribute> |
| <attribute name="name" type="string" use="required"> |
| <annotation> |
| <documentation> |
| a name that will be used in the editor UI for this diagram type provider |
| </documentation> |
| </annotation> |
| </attribute> |
| <attribute name="description" type="string"> |
| <annotation> |
| <documentation> |
| an optional description that will be used in the editor UI for this diagram type provider |
| </documentation> |
| </annotation> |
| </attribute> |
| <attribute name="class" type="string" use="required"> |
| <annotation> |
| <documentation> |
| the name of a class that implements <samp>org.eclipse.graphiti.dt.IDiagramTypeProviderr</samp>. |
| </documentation> |
| <appInfo> |
| <meta.attribute kind="java" basedOn="org.eclipse.graphiti.dt.AbstractDiagramTypeProvider:org.eclipse.graphiti.dt.IDiagramTypeProvider"/> |
| </appInfo> |
| </annotation> |
| </attribute> |
| </complexType> |
| </element> |
| |
| <element name="diagramType"> |
| <annotation> |
| <appInfo> |
| <meta.element labelAttribute="id"/> |
| </appInfo> |
| <documentation> |
| Advertises that the containing diagram type provider understands the given diagram type and is suitable for editing/viewing diagrams of that type. |
| </documentation> |
| </annotation> |
| <complexType> |
| <attribute name="id" type="string" use="required"> |
| <annotation> |
| <documentation> |
| the diagram type identifier. This is an ID defined by the 'org.eclipse.graphiti.ui.diagramTypes' extension point. |
| </documentation> |
| <appInfo> |
| <meta.attribute kind="identifier" basedOn="org.eclipse.graphiti.ui.diagramTypes/diagramType/@id"/> |
| </appInfo> |
| </annotation> |
| </attribute> |
| </complexType> |
| </element> |
| |
| <element name="imageProvider"> |
| <annotation> |
| <appInfo> |
| <meta.element labelAttribute="id"/> |
| </appInfo> |
| <documentation> |
| Advertises that the containing diagram type provider needs the given image provider for rendering purposes. |
| </documentation> |
| </annotation> |
| <complexType> |
| <attribute name="id" type="string" use="required"> |
| <annotation> |
| <documentation> |
| the image provider identifier. This is an ID defined by the 'org.eclipse.graphiti.ui.imageProviders' extension point. |
| </documentation> |
| <appInfo> |
| <meta.attribute kind="identifier" basedOn="org.eclipse.graphiti.ui.imageProviders/imageProvider/@id"/> |
| </appInfo> |
| </annotation> |
| </attribute> |
| </complexType> |
| </element> |
| |
| <annotation> |
| <appInfo> |
| <meta.section type="examples"/> |
| </appInfo> |
| <documentation> |
| <p> |
| <pre> |
| <extension |
| point="org.eclipse.graphiti.ui.diagramTypeProviders"> |
| <diagramTypeProvider |
| class="org.eclipse.graphiti.examples.ecore.TestDiagramTypeProvider" |
| description="This is a small Ecore test editor for the automated junit tests" |
| id="org.eclipse.graphiti.examples.ecore.TestDiagramTypeProvider" |
| name="Ecore example editor"> |
| <diagramType |
| id="org.eclipse.graphiti.examples.ecore.EcoreDiagramType"> |
| </diagramType> |
| <imageProvider |
| id="org.eclipse.graphiti.examples.common.SampleImageProvider"> |
| </imageProvider> |
| </diagramTypeProvider> |
| </extension> |
| </pre> |
| </p> |
| </documentation> |
| </annotation> |
| |
| <annotation> |
| <appInfo> |
| <meta.section type="apiInfo"/> |
| </appInfo> |
| <documentation> |
| Instead of implementing the interface <samp>"org.eclipse.graphiti.dt.IDiagramTypeProvider</samp> directly, the customer should extend the base class <samp>"org.eclipse.graphiti.dt.AbstractDiagramTypeProvider</samp>. |
| </documentation> |
| </annotation> |
| |
| <annotation> |
| <appInfo> |
| <meta.section type="since"/> |
| </appInfo> |
| <documentation> |
| 0.7.0 |
| </documentation> |
| </annotation> |
| |
| |
| <annotation> |
| <appInfo> |
| <meta.section type="copyright"/> |
| </appInfo> |
| <documentation> |
| Copyright (c) 2005, 2010 SAP AG.<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> |