Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » EMF.edit commands usage
EMF.edit commands usage [message #622842] Fri, 06 July 2007 02:47
Bogdan Pistol is currently offline Bogdan PistolFriend
Messages: 29
Registered: July 2009
Junior Member
Hello,

I have a few things not very clear about the edit commands.

I'm using an AdapterFactoryEditingDomain with commands in a
BasicCommandStack. I tested successfully the ChangeCommand (it modifies the
model and undo/redo works).

Is there a reason I should use SetCommand, or AddCommand or other commands?
I could make the same "set" and "add" with model changes inside a ChangeCommand.
What is the difference between the two approaches?

Thanks

Bogdan Pistol,
Previous Topic:Connecting DSL-eCore w/ UML2
Next Topic:EMF.edit commands
Goto Forum:
  


Current Time: Fri Apr 26 23:20:10 GMT 2024

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

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

Back to the top