Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Hint for dynamic Model
Hint for dynamic Model [message #234355] Sat, 20 June 2009 20:23
Oliver Doerler is currently offline Oliver DoerlerFriend
Messages: 22
Registered: July 2009
Junior Member
Hi all!

I have three different types of Boxes I want to connect in a Graph:

1. InputBox
2. OperatorBox
3. OutputBox

Each Type can have different Properties which define a specialized
Subtype. Those Properties are loaded, while the App is running, from XML
Files and becomes after available to place in the Graph. Based on that
Properties appear Restrictions for the Type, like how many Input/Output
Ports available, which are editable in the Properties Tab.

My Problem is that I am not sure how the best way could be to implement
this in a GMF generated Diagram. Until now I had the Plan to define the
SuperTypes as usual with the GMF and generate the Editor. After that to

1. model the three SuperType as a dynamic EMF Model which creates a
specialized instance out of the XML File. Or
2. add to each Box with EReference/Containment a Object with undefined
Content that every Property is stored in a own Object.

But that all sounds... bad... I would be very happy for a Hint into a
right Direction.

Thanks a lot!
Previous Topic:How to remove the sub menus of 'Add' Context Menu ?
Next Topic:Drag and Drop within the diagram editor
Goto Forum:

Current Time: Sun Apr 18 21:48:18 GMT 2021

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

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

Back to the top