Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » How to add diagram objects to (EMF) tree browser
How to add diagram objects to (EMF) tree browser [message #993730] Tue, 25 December 2012 04:14
Arto Jarvinen is currently offline Arto Jarvinen
Messages: 32
Registered: May 2010
Location: Sweden
I'd like to be able to add diagram objects to the EMF tree browser so that when I create such an object for say a class diagram, an empty diagram would be created, including its persistence. What would the best ("canonical") way of doing this be? Should I e.g. subclass CreateChildAction (or some class close to it) to insert the diagram creation code. Or should it be done with listeners? Or something completely different. An example would be very helpful. Thanks -A

Previous Topic:EditPartProvider Priority
Next Topic:Custom decoration not being called
Goto Forum:

Current Time: Sat Aug 23 11:20:21 EDT 2014

Powered by FUDForum. Page generated in 0.03022 seconds