Hello Arne,
All the commands in GMF (EMF-based or GEF-based) are executed through
eclipse command stack now. I think the problem is in incorrect âundo
contextâ used by some commands in your editor or Undo/redo actions. In
general each IUndoableOperation can have several IUndoContext attached,
so there should be a code attaching proper UndoContext to each command
executed through GEF/EMF. I do not remember then appropriate context
will be attached to each command executed in GMF-generated editor (this
code is not so simple and spread around the GMF) but I know there is
such place(s) in code and I think you can try finding that by debugging.
AFAIR I was able to implement multipage editor with EMF/GMF pages and
common undo/redo stack and an idea was: attach appropriate undo context
to each executed command and then use this context in undo/redo actions.
-----------------
Alex Shatalin