Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » Graphical definition of "modules" with top and bottom pins
Graphical definition of "modules" with top and bottom pins [message #163051] Wed, 28 November 2007 10:04
Eclipse UserFriend
Originally posted by: benoit.casoetto.gazdefrance.com

Hello everyone,

I have tried quite a bit to create an editor where modules are nodes which
contain top and bottom pins, much like the "circuit" item available in the
logic example (see picture below, even though it's a bit small).
http://help.eclipse.org/help31/topic/org.eclipse.gmf.doc/tut orials/diagram/addedTool.jpg

***
Is it possible to achieve such a result without modifying generated code ?
***

Along my way to finding a solution, i have found a few hints : use a
compartment for each set of pins, probably use a border layout... but
can't seem to make it work !

The model to base the editor on is quite simple :
* map -> (0..infinity) module
* module -> (0..infinity) top_pin
-> (0..infinity) bottom_pin
* top_pin
* bottom_pin
+ other stuff for linking elements together (but i believe we don't have
to care about that here)

Are my hints correct ? How should they interact ? I am a bit lost here...
I am interested in any answer or link to an appropriate documentation
regarding this question...

Thanks !
Previous Topic:Connection(Edge) remove pro grammatically
Next Topic:Problem when creating Mapping Model
Goto Forum:
  


Current Time: Sun May 11 14:23:08 EDT 2025

Powered by FUDForum. Page generated in 0.03086 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top