What is the advantage of use of SetValueCommand over the use of SetCommand
executing the last one in WorkspaceCommandStackImpl? While being executed
in WorkspaceCommandStackImpl SetCommand will be first wrapped into
EMFOperationCommand and after that executed in the IOperationHistory. So
it seems to have the same effect as executing SetValueCommand in the
IOperationHistory.
Actually, I would like to clarify a few questions concerning different
commands in GMF:
- when and why should we execute command in CommandStack ?
- why execution use of org.eclipse.emf.common.command.Command descendants
is dicouraged in GMF and all code mostly uses AbstractTransactionalCommand
descendants?