|Add for existing Model [message #1047907]
||Tue, 23 April 2013 16:39
| Christian Pelster
Registered: January 2010
maybe someone can point me in the right direction with my problem:
I already have a XText based DSL that I want to enhance with a graphiti based editor. I followed the tutorial and implemented the whole "addFeature" thing so that I should be able to create diagrams for my existing model.
When I start my plugin I'm able to create a new diagram (so far so good).
But how do I add the currently existing model elements to my diagram. In the tutorial there is an "EClasses" tree under the example project root where I can add the classes to the diagram via drag and drop. How can I achieve this for my DSL?
My idea is to add the diagram elements from the models outline via drag and drop, but I don't know where to start?
Powered by FUDForum
. Page generated in 0.02418 seconds