|
Re: EMF.edit commands [message #473876 is a reply to message #473773] |
Fri, 06 July 2007 11:58 |
Ed Merks Messages: 33141 Registered: July 2009 |
Senior Member |
|
|
Bogdan,
I guess you got send happy. :-)
Bogdan Pistol wrote:
> 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,
>
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Re: EMF.edit commands [message #622852 is a reply to message #473773] |
Fri, 06 July 2007 11:58 |
Ed Merks Messages: 33141 Registered: July 2009 |
Senior Member |
|
|
Bogdan,
I guess you got send happy. :-)
Bogdan Pistol wrote:
> 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,
>
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.02902 seconds