blob: 8ec1338d3a35f50456fc43c9cf769a423f6c6b3a [file] [log] [blame]
<html>
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered)">
<title>Diagram</title>
<link rel=Stylesheet type="text/css" media=all href="../book.css">
<style>
<!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Cambria;
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
h1
{mso-style-link:"\00DCberschrift 1 Zchn";
margin-top:12.0pt;
margin-right:0cm;
margin-bottom:3.0pt;
margin-left:0cm;
page-break-after:avoid;
font-size:16.0pt;
font-family:"Times New Roman","serif";
font-weight:bold;}
h2
{mso-style-link:"\00DCberschrift 2 Zchn";
margin-top:12.0pt;
margin-right:0cm;
margin-bottom:3.0pt;
margin-left:0cm;
page-break-after:avoid;
font-size:14.0pt;
font-family:"Times New Roman","serif";
font-weight:bold;
font-style:italic;}
h3
{mso-style-link:"\00DCberschrift 3 Zchn";
margin-top:12.0pt;
margin-right:0cm;
margin-bottom:3.0pt;
margin-left:0cm;
page-break-after:avoid;
font-size:13.0pt;
font-family:"Times New Roman","serif";
font-weight:bold;}
h4
{mso-style-link:"\00DCberschrift 4 Zchn";
margin-top:11.25pt;
margin-right:0cm;
margin-bottom:1.7pt;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman","serif";
font-weight:bold;
font-style:italic;}
h5
{mso-style-link:"\00DCberschrift 5 Zchn";
margin-right:0cm;
margin-left:0cm;
font-size:10.0pt;
font-family:"Times New Roman","serif";
font-weight:bold;}
h6
{mso-style-link:"\00DCberschrift 6 Zchn";
margin-right:0cm;
margin-left:0cm;
font-size:7.5pt;
font-family:"Times New Roman","serif";
font-weight:bold;}
p.MsoCommentText, li.MsoCommentText, div.MsoCommentText
{mso-style-link:"Kommentartext Zchn";
margin-top:6.0pt;
margin-right:0cm;
margin-bottom:0cm;
margin-left:0cm;
margin-bottom:.0001pt;
text-align:justify;
font-size:10.0pt;
font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
p.MsoDocumentMap, li.MsoDocumentMap, div.MsoDocumentMap
{mso-style-link:"Dokumentstruktur Zchn";
margin:0cm;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";}
p
{margin-top:5.65pt;
margin-right:0cm;
margin-bottom:5.65pt;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
pre
{mso-style-link:"HTML Vorformatiert Zchn";
margin-top:0cm;
margin-right:0cm;
margin-bottom:0cm;
margin-left:3.4pt;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Courier New";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-link:"Sprechblasentext Zchn";
margin:0cm;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";}
span.berschrift1Zchn
{mso-style-name:"\00DCberschrift 1 Zchn";
mso-style-link:"\00DCberschrift 1";
font-family:"Cambria","serif";
color:#365F91;
font-weight:bold;}
span.berschrift2Zchn
{mso-style-name:"\00DCberschrift 2 Zchn";
mso-style-link:"\00DCberschrift 2";
font-family:"Cambria","serif";
color:#4F81BD;
font-weight:bold;}
span.berschrift3Zchn
{mso-style-name:"\00DCberschrift 3 Zchn";
mso-style-link:"\00DCberschrift 3";
font-family:"Cambria","serif";
color:#4F81BD;
font-weight:bold;}
span.berschrift4Zchn
{mso-style-name:"\00DCberschrift 4 Zchn";
mso-style-link:"\00DCberschrift 4";
font-family:"Cambria","serif";
color:#4F81BD;
font-weight:bold;
font-style:italic;}
span.berschrift5Zchn
{mso-style-name:"\00DCberschrift 5 Zchn";
mso-style-link:"\00DCberschrift 5";
font-family:"Cambria","serif";
color:#243F60;}
span.berschrift6Zchn
{mso-style-name:"\00DCberschrift 6 Zchn";
mso-style-link:"\00DCberschrift 6";
font-family:"Cambria","serif";
color:#243F60;
font-style:italic;}
span.HTMLVorformatiertZchn
{mso-style-name:"HTML Vorformatiert Zchn";
mso-style-link:"HTML Vorformatiert";
font-family:Consolas;}
span.KommentartextZchn
{mso-style-name:"Kommentartext Zchn";
mso-style-link:Kommentartext;
font-family:"Times New Roman","serif";}
span.SprechblasentextZchn
{mso-style-name:"Sprechblasentext Zchn";
mso-style-link:Sprechblasentext;
font-family:"Tahoma","sans-serif";}
p.code, li.code, div.code
{mso-style-name:code;
margin-top:0cm;
margin-right:0cm;
margin-bottom:0cm;
margin-left:15.0pt;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
p.note, li.note, div.note
{mso-style-name:note;
margin-top:19.5pt;
margin-right:0cm;
margin-bottom:19.5pt;
margin-left:30.0pt;
font-size:13.0pt;
font-family:"Times New Roman","serif";
font-style:italic;}
p.msochpdefault, li.msochpdefault, div.msochpdefault
{mso-style-name:msochpdefault;
margin-top:5.65pt;
margin-right:0cm;
margin-bottom:5.65pt;
margin-left:0cm;
font-size:10.0pt;
font-family:"Times New Roman","serif";}
span.Heading1Char
{mso-style-name:"Heading 1 Char";
mso-style-link:"Heading 1";
font-family:"Cambria","serif";
color:#365F91;
font-weight:bold;}
p.Heading1, li.Heading1, div.Heading1
{mso-style-name:"Heading 1";
mso-style-link:"Heading 1 Char";
margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
span.Heading2Char
{mso-style-name:"Heading 2 Char";
mso-style-link:"Heading 2";
font-family:"Cambria","serif";
color:#4F81BD;
font-weight:bold;}
p.Heading2, li.Heading2, div.Heading2
{mso-style-name:"Heading 2";
mso-style-link:"Heading 2 Char";
margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
span.Heading3Char
{mso-style-name:"Heading 3 Char";
mso-style-link:"Heading 3";
font-family:"Cambria","serif";
color:#4F81BD;
font-weight:bold;}
p.Heading3, li.Heading3, div.Heading3
{mso-style-name:"Heading 3";
mso-style-link:"Heading 3 Char";
margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
span.Heading4Char
{mso-style-name:"Heading 4 Char";
mso-style-link:"Heading 4";
font-family:"Cambria","serif";
color:#4F81BD;
font-weight:bold;
font-style:italic;}
p.Heading4, li.Heading4, div.Heading4
{mso-style-name:"Heading 4";
mso-style-link:"Heading 4 Char";
margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
span.Heading5Char
{mso-style-name:"Heading 5 Char";
mso-style-link:"Heading 5";
font-family:"Cambria","serif";
color:#243F60;}
p.Heading5, li.Heading5, div.Heading5
{mso-style-name:"Heading 5";
mso-style-link:"Heading 5 Char";
margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
span.Heading6Char
{mso-style-name:"Heading 6 Char";
mso-style-link:"Heading 6";
font-family:"Cambria","serif";
color:#243F60;
font-style:italic;}
p.Heading6, li.Heading6, div.Heading6
{mso-style-name:"Heading 6";
mso-style-link:"Heading 6 Char";
margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
span.HTMLPreformattedChar
{mso-style-name:"HTML Preformatted Char";
mso-style-link:"HTML Preformatted";
font-family:Consolas;}
p.HTMLPreformatted, li.HTMLPreformatted, div.HTMLPreformatted
{mso-style-name:"HTML Preformatted";
mso-style-link:"HTML Preformatted Char";
margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
span.CommentTextChar
{mso-style-name:"Comment Text Char";
mso-style-link:"Comment Text";
font-family:"Times New Roman","serif";}
p.CommentText, li.CommentText, div.CommentText
{mso-style-name:"Comment Text";
mso-style-link:"Comment Text Char";
margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
span.BalloonTextChar
{mso-style-name:"Balloon Text Char";
mso-style-link:"Balloon Text";
font-family:"Tahoma","sans-serif";}
p.BalloonText, li.BalloonText, div.BalloonText
{mso-style-name:"Balloon Text";
mso-style-link:"Balloon Text Char";
margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
p.comment, li.comment, div.comment
{mso-style-name:comment;
margin-top:5.65pt;
margin-right:0cm;
margin-bottom:5.65pt;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman","serif";
font-weight:bold;}
span.DokumentstrukturZchn
{mso-style-name:"Dokumentstruktur Zchn";
mso-style-link:Dokumentstruktur;
font-family:"Tahoma","sans-serif";}
.MsoChpDefault
{font-size:10.0pt;}
@page WordSection1
{size:595.3pt 841.9pt;
margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
{page:WordSection1;}
/* List Definitions */
ol
{margin-bottom:0cm;}
ul
{margin-bottom:0cm;}
-->
</style>
</head>
<body bgcolor=white lang=DE link=blue vlink=purple style='margin-bottom:12.0pt'>
<div class=WordSection1>
<div>
<h1><span lang=EN-US>Diagram</span></h1>
<p class=MsoNormal><span lang=EN-US style='color:black'>&nbsp;</span></p>
<p class=MsoNormal><span lang=EN-GB style='color:black'>For the creation of an
editor, it is necessary to implement a <b>diagram type agent</b>. This diagram
type agent consists of a <b>diagram type provider</b> and a <b>feature provider</b>.
The minimum implementation of the diagram type provider is described in this
chapter.</span></p>
<p class=MsoNormal><span lang=EN-GB style='color:black'>&nbsp;</span></p>
<h2><a name="_Toc176747724"><span lang=EN-GB>Create a Plug-In</span></a></h2>
<p class=MsoNormal><span lang=EN-US>&nbsp;</span></p>
<p class=MsoNormal><span lang=EN-US>Create a plug-in project for your diagram
type specific graphical editor. Please keep in mind <b>not to use</b> the ID <i>org.eclipse.graphiti.tutorial</i>,
which is the ID of our implementation of the tutorial. Additionally use different
ID's for implementations of our extension points, see below.</span></p>
<p class=MsoNormal>You should have references to following plug-ins: <i>org.eclipse.graphiti</i>,
<i>org.eclipse.graphiti.ui</i>, <i>org.eclipse.graphiti.examples.common</i>, <i>org.eclipse.core.resources</i>,
<i>org.eclipse.core.runtime</i>, <i>org.eclipse.ui.views.properties.tabbed</i>.</p>
<p class=MsoNormal>Hint: the final version of this tutorial as it is included in the SDK download of Graphiti
actually defines more dependencies; these are introduced in later sections of this tutorial. To start
off with the tutorial only the above mentioned dependencies are required.</p>
<h2><a name="_Toc176747725"><span lang=EN-GB>Create a Diagram Type Provider</span></a></h2>
<p class=MsoNormal><span lang=EN-GB style='color:black'>&nbsp;</span></p>
<p class=MsoNormal><span lang=EN-GB style='color:black'>A diagram type provider
has to implement the interface</span><span lang=EN-GB> </span><span
class=code1><span lang=EN-US style='color:black'><a
href="../../../javadoc/org/eclipse/graphiti/dt/IDiagramTypeProvider.html">IDiagramTypeProvider</a></span></span><span
lang=EN-GB style='color:black'>. Instead of implementing it directly it should
extend one of the available base classes. In this example we extend the base
class</span><span lang=EN-GB> </span><span class=code1><span lang=EN-US
style='color:black'><a
href="../../../javadoc/org/eclipse/graphiti/dt/AbstractDiagramTypeProvider.html">AbstractDiagramTypeProvider</a>.</span></span></p>
<p class=MsoNormal><span class=code1><span lang=EN-US style='color:black'>&nbsp;</span></span></p>
<p class=MsoNormal><span lang=EN-GB style='color:black'>You can see the
complete implementation of the diagram type provider here:</span></p>
<p class=MsoNormal><span lang=EN-GB style='color:black'>&nbsp;</span></p>
<table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 width=680
style='width:18.0cm;border-collapse:collapse'>
<tr>
<td width=680 valign=top style='width:18.0cm;border:solid windowtext 1.0pt;
padding:0cm 5.4pt 0cm 5.4pt'>
<p class=MsoNormal style='text-autospace:none'><b><span lang=EN-US
style='font-size:10.0pt;font-family:"Courier New";color:#7F0055'>&nbsp;</span></b></p>
<p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:
"Courier New";color:#7F0055'>package</span></b><span lang=EN-US> </span><span
lang=EN-US style='font-size:10.0pt;font-family:"Courier New"'>org.eclipse.graphiti.examples.tutorial.diagram;</span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New"'>&nbsp;</span></p>
<p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:
"Courier New";color:#7F0055'>public</span></b><span lang=EN-US> </span><b><span
lang=EN-US style='font-size:10.0pt;font-family:"Courier New";color:#7F0055'>class</span></b><span
lang=EN-US> </span><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New"'>MyTutorialDiagramTypeProvider
<b><span style='color:#7F0055'>extends</span></b> AbstractDiagramTypeProvider
{</span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New"'>&nbsp;</span></p>
<p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:
"Courier New";color:#7F0055'>&nbsp; &nbsp;</span></b><b><span
style='font-size:10.0pt;font-family:"Courier New";color:#7F0055'>public</span></b>
<span style='font-size:10.0pt;font-family:"Courier New"'>MyTutorialDiagramTypeProvider()
{</span></p>
<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Courier New";
color:#7F0055'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;super</span></b><span
style='font-size:10.0pt;font-family:"Courier New"'>();<br>
&nbsp;&nbsp; }</span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'>}</span></p>
<p class=MsoNormal>&nbsp;</p>
</td>
</tr>
</table>
<p class=MsoNormal><span lang=EN-GB style='color:black'>&nbsp;</span></p>
<p class=MsoNormal><span lang=EN-GB style='color:black'>&nbsp;</span></p>
<h2><a name="_Toc176747726"><span lang=EN-GB>Create a Diagram Type</span></a></h2>
<p class=MsoNormal>&nbsp;</p>
<p class=MsoNormal><span lang=EN-GB style='color:black'>If you create a diagram
type provider for a diagram type which does not exist in the repository, it is
necessary to provide also information about this new diagram type.</span><span
lang=EN-GB> </span><span lang=EN-US style='color:black'>The diagram type</span><span
lang=EN-US> advertises that the containing diagram type provider understands
the given diagram type and is suitable for editing and viewing diagrams of that
type.</span></p>
<p class=MsoNormal><span lang=EN-GB style='color:black'>The information about a
diagram type must be declared in the plugin.xml.</span></p>
<p class=MsoNormal><span lang=EN-GB style='color:black'>&nbsp;</span></p>
<p class=MsoNormal><span lang=EN-GB style='color:black'>&nbsp;</span></p>
<h2><a name="_Toc176747727"><span lang=EN-GB>Register the Diagram Type Provider
and Diagram Type</span></a></h2>
<p class=MsoNormal><span lang=EN-GB style='color:black'>&nbsp;</span></p>
<p class=MsoNormal><span lang=EN-GB>The newly created diagram type provider and
diagram type are registered through the extension points:</span></p>
<ul style='margin-top:0cm' type=disc>
<li class=MsoNormal style='margin-top:6.0pt;text-align:justify'><span
class=code0><span lang=EN-US><a
href="../extension-points/diagramTypes.html">diagramTypes</a></span></span></li>
<li class=MsoNormal style='margin-top:6.0pt;text-align:justify'><span
class=code0><span lang=EN-US><a
href="../extension-points/diagramTypeProviders.html">diagramTypeProviders</a></span></span></li>
</ul>
<p class=MsoNormal><span lang=EN-GB>&nbsp;<span style='color:black'>&nbsp;</span></span></p>
<p class=MsoNormal><span lang=EN-GB style='color:black'>The corresponding <i>plugin.xml</i>
looks similar to this:</span></p>
<p class=MsoNormal><span lang=EN-GB style='color:black'>&nbsp;</span></p>
<table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 width=680
style='width:18.0cm;margin-left:1.9pt;border-collapse:collapse'>
<tr>
<td width=680 valign=top style='width:18.0cm;border:solid windowtext 1.0pt;
padding:0cm 5.4pt 0cm 5.4pt'>
<p class=MsoNormal style='text-autospace:none'><span lang=EN-GB
style='font-size:10.0pt;font-family:"Courier New";color:gray'>&nbsp;</span></p>
<p class=MsoNormal style='text-autospace:none'><span lang=EN-US
style='font-size:10.0pt;font-family:"Courier New";color:gray'>&lt;?xml
version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;</span></p>
<p class=MsoNormal style='text-autospace:none'><span lang=EN-US
style='font-size:10.0pt;font-family:"Courier New";color:gray'>&lt;?eclipse
version=&quot;3.0&quot;?&gt;</span></p>
<p class=MsoNormal style='text-autospace:none'><span lang=EN-US
style='font-size:10.0pt;font-family:"Courier New";color:navy'>&lt;plugin&gt;</span></p>
<p class=MsoNormal style='text-autospace:none'><span lang=EN-US
style='font-size:10.0pt;font-family:"Courier New";color:black'>&nbsp;&nbsp;</span><span
lang=EN-US style='font-size:10.0pt;font-family:"Courier New";color:navy'>&lt;extension</span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New";
color:navy'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; point=</span><span lang=EN-US
style='font-size:10.0pt;font-family:"Courier New";color:green'>&quot;org.eclipse.graphiti.ui.diagramTypes&quot;</span><span
lang=EN-US style='font-size:10.0pt;font-family:"Courier New";color:navy'>&gt;</span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New";
color:navy'>&nbsp;&nbsp;&nbsp; &lt;diagramType</span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New";
color:navy'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; description=</span><span
lang=EN-US style='font-size:10.0pt;font-family:"Courier New";color:green'>&quot;This
is the diagram type for my Graphiti tutorial&quot;</span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New";
color:navy'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; id=</span><span lang=EN-US
style='font-size:10.0pt;font-family:"Courier New";color:green'>&quot;org.eclipse.graphiti.examples.tutorial.diagram.MyTutorialDiagramType&quot;</span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New";
color:navy'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; name=</span><span lang=EN-US
style='font-size:10.0pt;font-family:"Courier New";color:green'>&quot;My
Graphiti Tutorial Diagram Type&quot;</span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New";
color:navy'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; type=</span><span lang=EN-US
style='font-size:10.0pt;font-family:"Courier New";color:green'>&quot;mytutorial&quot;</span><span
lang=EN-US style='font-size:10.0pt;font-family:"Courier New";color:navy'>&gt;</span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New";
color:navy'>&nbsp;&nbsp;&nbsp; &lt;/diagramType&gt;</span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New";
color:navy'>&nbsp; &lt;/extension&gt;</span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New"'>&nbsp;</span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New";
color:navy'>&nbsp; &lt;extension</span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New";
color:navy'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; point=</span><span lang=EN-US
style='font-size:10.0pt;font-family:"Courier New";color:green'>&quot;org.eclipse.graphiti.ui.diagramTypeProviders&quot;</span><span
lang=EN-US style='font-size:10.0pt;font-family:"Courier New";color:navy'>&gt;</span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New";
color:navy'>&nbsp;&nbsp;&nbsp; &lt;diagramTypeProvider</span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New";
color:navy'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; class=</span><span lang=EN-US
style='font-size:10.0pt;font-family:"Courier New";color:green'>&quot;org.eclipse.graphiti.examples.tutorial.diagram.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
MyTutorialDiagramTypeProvider&quot;</span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New";
color:navy'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; description=</span><span
lang=EN-US style='font-size:10.0pt;font-family:"Courier New";color:green'>&quot;This
is my editor for the Graphiti tutorial&quot;</span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New";
color:navy'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; id=</span><span lang=EN-US
style='font-size:10.0pt;font-family:"Courier New";color:green'>&quot;org.eclipse.graphiti.examples.tutorial.diagram.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
MyTutorialDiagramTypeProvider&quot;</span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New";
color:navy'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; name=</span><span lang=EN-US
style='font-size:10.0pt;font-family:"Courier New";color:green'>&quot;My
tutorial editor&quot;</span><span lang=EN-US style='font-size:10.0pt;
font-family:"Courier New";color:navy'>&gt;</span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New";
color:navy'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;diagramType</span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New";
color:navy'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; id=</span><span
lang=EN-US style='font-size:10.0pt;font-family:"Courier New";color:green'>&quot;org.eclipse.graphiti.examples.tutorial.diagram.MyTutorialDiagramType&quot;</span><span
lang=EN-US style='font-size:10.0pt;font-family:"Courier New";color:navy'>&gt;</span></p>
<p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New";
color:navy'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span lang=EN-US> </span><span
style='font-size:10.0pt;font-family:"Courier New";color:navy'>&lt;/diagramType&gt;</span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";
color:navy'>&nbsp;&nbsp;&nbsp; &lt;/diagramTypeProvider&gt;</span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";
color:navy'>&nbsp; &lt;/extension&gt;</span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New";color:navy'>&lt;/plugin&gt;</span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New";color:black'>&nbsp;</span><span lang=EN-GB
style='color:black'>&nbsp;</span></p>
</td>
</tr>
</table>
<p class=MsoNormal><span lang=EN-GB style='color:black'>&nbsp;</span></p>
<p class=MsoNormal><span lang=EN-GB style='color:black'>&nbsp;</span></p>
<p class=MsoNormal><span lang=EN-GB style='color:black'>&nbsp;</span><span
lang=EN-US>For further information to these extension points, see the extension
point description in the Eclipse IDE.</span></p>
<p class=MsoNormal><span lang=EN-US style='color:black'>&nbsp;</span></p>
</div>
<div class=MsoNormal align=center style='text-align:center'>
<hr size=3 width="100%" align=center>
</div>
<p class=MsoNormal><a href="http://www.eclipse.org/legal/epl-v10.html"
shape=rect>Copyright (c) SAP AG 2005, 2010.</a></p>
</div>
</body>
</html>