|Hint for dynamic Model [message #234355]
||Sat, 20 June 2009 20:23
| Oliver Doerler
Registered: July 2009
I have three different types of Boxes I want to connect in a Graph:
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
Thanks a lot!
Powered by FUDForum
. Page generated in 0.01906 seconds