Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » CompoundCommand with EMF DeleteCommand and GMF getDestroyElementCommand
CompoundCommand with EMF DeleteCommand and GMF getDestroyElementCommand [message #106352] Thu, 22 February 2007 18:06
John Yotka is currently offline John YotkaFriend
Messages: 144
Registered: July 2009
Senior Member
Sorry for this newbie question. I have an EditPart that when deleted
needs to delete an additional item from the domain model (ie, another
item that is not the semantic item for the EditPart). In the
getDestroyElementCommand method of the EditPart I think I need to return
a CompoundCommand (GEF) that has the getDestroyElementCommand for the
EditPart and a DeleteCommand (EMF) for the additional model item? If
this is not correct please tell me the correct approach. If it is
correct, then my problem is I don't know how to convert the EMF
DeleteCommand to a GEF Command so that I can "add" it to the
CompoundCommand. Thanks in advance.
Previous Topic:Duplicate resources
Next Topic:unable to load class for PropertySection from generated diagram code
Goto Forum:
  


Current Time: Thu Sep 26 07:46:02 GMT 2024

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

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

Back to the top