blob: ecd6713bf8af615c84031d3df43ee76eddca672c [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator" content="HTML Tidy, see www.w3.org" />
<meta http-equiv="Content-Type"
content="text/html; charset=iso-8859-1" />
<title>Geometric Shapes Example</title>
</head>
<body>
<h2>Geometric Shapes Example</h2>
<h3>Introduction</h3>
<p><span style="font-size:12.0pt">This guide describes the
geometric shapes example in the SDK.<span
style="mso-spacerun:yes">&nbsp;</span> This example demonstrates a
very simple editor for creating geometric shapes and some basic
capability for editing and rendering them.</span>.</p>
<h3>References</h3>
<p>n/a</p>
<h3>Description</h3>
<p>This example plug-in is named <span
class="SpellE">org.eclipse.gmf.examples.runtime.diagram.geoshapes</span>.
<span style="mso-spacerun:yes">&nbsp;</span>It allows creation of a
simple editor based on a resource file with extension *.geo.<span
style="mso-spacerun:yes">&nbsp;</span> The editor is actually a
container for the geometric shape capability defined in the plug-in
<span
class="SpellE">org.eclipse.gmf.runtime.diagram.ui.geoshapes</span>.
<span style="mso-spacerun:yes">&nbsp;</span>There is no extended
contribution in the examples plug-in except for the providers for
creating the diagram views and <span class="SpellE">EditPart</span>
for the diagram editor. <span
style="mso-spacerun:yes">&nbsp;</span>The geometric shapes
functionality is actually contributed by the <span
class="SpellE">org.eclipse.gmf.runtime.diagram.ui.geoshapes</span>
plug-in.</p>
<h3>Usage</h3>
<p>Refer to this example if you need:</p>
<ol>
<li>How to set-up a resource based GMF diagram layer editor based
on a specific extension.</li>
<li>How to inherit notation based functionality that is provided
for by the diagram layer.</li>
<li>How to integrate the property view into your editor.</li>
</ol>
<br />
<br />
<hr />
<p><a href="http://www.eclipse.org/legal/epl-v10.html">Copyright
(c) 2000,2005 IBM Corporation and others. All Rights
Reserved.</a></p>
<br />
<br />
</body>
</html>