I have implemented a SetCommand (EMF) which I don't want it to be
Undone, so the method doCanUndo() is returning false. Let's imagine I
make some modifications in my diagram and then I execute that command
through the editingDomain.getCommandStack().execute(). Then if I go to
Undo one of the previous changes, it doesn't appear, actually no change
appears as undoable. Is this behavior normal? This is happening using an
AbstractCommand (GMF) as well.
I need to make some modifications with a Command but I don't want it to
appear in the CommandStack undoable commands, and I don't know if
overriding the canUndo() method is the right way.