The relationship between EditParts and DiagramGlobalActionHandler? [message #839813] |
Mon, 09 April 2012 08:33 |
Arto Jarvinen Messages: 32 Registered: May 2010 Location: Sweden |
Member |
|
|
I have successfully implemented my own variety of copy-paste in my GMF-based editor thanks to an excellent blog post by "esalagea". I'm now trying to add my behavior also to the Delete command(s) and have got a little lost. I guess I have to leave the cook-book and try to understand what's under the hood. I understand it is the EditPart that is supposed to provide the command to change the model(s). How is this responsibility passed from the EditPart to the DiagramGlobalActionHandler and where is it done? I've tried to trace the calls from the EditParts but so far been unsuccessful (there are many EditParts on many levels of inheritance). Could somebody point me at an explanation of this please? Thanks in advance!
-Arto
Blog: http://www.ostrogothia.com/process/
|
|
|
|
Powered by
FUDForum. Page generated in 0.03396 seconds