Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » Hint for dynamic Model
Hint for dynamic Model [message #234355] Sat, 20 June 2009 16:23
Eclipse UserFriend
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!
Olli
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 May 11 11:08:12 EDT 2025

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

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

Back to the top