| <!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>Logic Example</title> |
| </head> |
| <body> |
| <h2>Logic Example</h2> |
| |
| <h3>Introduction</h3> |
| |
| <p><span style="font-size:12.0pt">This plug-in is named |
| org.eclipse.gmf.examples.runtime.diagram.logic.<span |
| style="mso-spacerun:yes"> </span> It allows creation of a |
| simple circuit board editor persisted in a resource file with |
| extension *.logic2.<span style="mso-spacerun:yes"> </span> The |
| editor demonstrates how a semantic model can be visualized using |
| the diagram core components.<span |
| style="mso-spacerun:yes"> </span> In this case the semantic |
| model is an EMF model that defines (hypothetically) how a circuit |
| board could be represented in a meta-model.<span |
| style="mso-spacerun:yes"> </span> The notation meta-model, |
| which is part of the diagram core is then mapped to this semantic |
| meta-model and displayed in the editor so that the user can |
| subsequently manipulate the semantic model.</span></p> |
| |
| <h3>References</h3> |
| |
| <p>n/a</p> |
| |
| <h3>Description</h3> |
| |
| <p>This plug-in contributes a wizard to the "New Example" |
| menu.<br /> |
| <br /> |
| <img border="0" src="examplesdlg.gif" width="502" |
| height="502" /><br /> |
| <br /> |
| Selecting the "Logic Diagram" entry will create a new editor for |
| editing logic models.</p> |
| |
| <p>Please refer to the following tutorials for reviewing the code |
| samples within this example:<br /> |
| <a href="../../tutorials/diagram/createShape.html">Creating a |
| shape</a><a |
| href="../../tutorials/diagram/createConnection.html"><br /> |
| Creating a connection</a><br /> |
| <a |
| href="../../tutorials/diagram/diagramPreferencesTutorial.html">Supporting |
| Diagram Preferences</a> <a |
| href="../../tutorials/diagram/paletteConfigurationTutorial.html">Configuring |
| and Extending the Diagram Palette</a> <a |
| href="../../tutorials/diagram/containmentOfShapes.html"><br /> |
| Supporting containment of shapes</a><br /> |
| <a href="../../tutorials/diagram/automaticLayout.html">Modifying a |
| container to support automatic layout</a></p> |
| |
| <h3>Usage</h3> |
| |
| <p>Refer to this example if you need:</p> |
| |
| <ol> |
| <li>How to create an editor for <span class="GramE">a</span> |
| existing EMF semantic model.</li> |
| |
| <li>How to inherit notation based functionality that is provided |
| for by the diagram layer.</li> |
| |
| <li>How to use some of the advanced features of the diagram layer |
| such as shape containment, canonical synchronization and border |
| shapes.</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 /> |
| <br /> |
| <br /> |
| </body> |
| </html> |
| |