Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Eclipse GMF Guide
Previous Page Home Next Page

Logic Example

Introduction

This plug-in is named org.eclipse.gmf.examples.runtime.diagram.logic.  It allows creation of a simple circuit board editor persisted in a resource file with extension *.logic2.  The editor demonstrates how a semantic model can be visualized using the diagram core components.  In this case the semantic model is an EMF model that defines (hypothetically) how a circuit board could be represented in a meta-model.  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.

References

n/a

Description

This plug-in contributes a wizard to the "New Example" menu.



Selecting the "Logic Diagram" entry will create a new editor for editing logic models.

Please refer to the following tutorials for reviewing the code samples within this example:
Creating ashape
Creating a connection

SupportingDiagram Preferences Configuringand Extending the Diagram Palette
Supporting containment of shapes

Modifying acontainer to support automatic layout

Usage

Refer to this example if you need:

  1. How to create an editor for a existing EMF semantic model.
  2. How to inherit notation based functionality that is provided for by the diagram layer.
  3. How to use some of the advanced features of the diagram layer such as shape containment, canonical synchronization and border shapes.



Copyright (c) 2000,2005 IBM Corporation and others. All Rights Reserved.






 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire