blob: 7f77756d535c9e16116df18eba6a5b14b6eceb64 [file] [log] [blame]
<?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 &lt;samp&gt;org.eclipse.graphiti.dt.IDiagramTypeProviderr&lt;/samp&gt;.
</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 &apos;org.eclipse.graphiti.ui.diagramTypes&apos; 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 &apos;org.eclipse.graphiti.ui.imageProviders&apos; 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>
&lt;p&gt;
&lt;pre&gt;
&lt;extension
point=&quot;org.eclipse.graphiti.ui.diagramTypeProviders&quot;&gt;
&lt;diagramTypeProvider
class=&quot;org.eclipse.graphiti.examples.ecore.TestDiagramTypeProvider&quot;
description=&quot;This is a small Ecore test editor for the automated junit tests&quot;
id=&quot;org.eclipse.graphiti.examples.ecore.TestDiagramTypeProvider&quot;
name=&quot;Ecore example editor&quot;&gt;
&lt;diagramType
id=&quot;org.eclipse.graphiti.examples.ecore.EcoreDiagramType&quot;&gt;
&lt;/diagramType&gt;
&lt;imageProvider
id=&quot;org.eclipse.graphiti.examples.common.SampleImageProvider&quot;&gt;
&lt;/imageProvider&gt;
&lt;/diagramTypeProvider&gt;
&lt;/extension&gt;
&lt;/pre&gt;
&lt;/p&gt;
</documentation>
</annotation>
<annotation>
<appInfo>
<meta.section type="apiInfo"/>
</appInfo>
<documentation>
Instead of implementing the interface &lt;samp&gt;&quot;org.eclipse.graphiti.dt.IDiagramTypeProvider&lt;/samp&gt; directly, the customer should extend the base class &lt;samp&gt;&quot;org.eclipse.graphiti.dt.AbstractDiagramTypeProvider&lt;/samp&gt;.
</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.&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>