Community
Participate
Working Groups
The undo redo work for some commands, but not for others. This is because several CommandStack are used to execute commands. Only one commandStack is used for undo/redo. If the command is executed on another commandStack, it doesn't appear in the list of undoable operations.
There are several bugs dealing with undo/redo. Should they all be linked to this one?
Cedric can you precise the context of the Undo command, which command? Because of the number of commands that are exist or use. it is impossible to find and fixe this bugs.
From what I've seen (At least until M6), undo/redo issues are usually not related to the command themselves, but to the various OperationHistory/CommandStacks. The undo/redo handlers are properly implemented in the ModelExplorer, but they are different from the ones used in the core editor. Symptom: Undo/redo doesn't work anymore from the main editor. It works as expected when the ModelExplorer view is active. Also, some user operations are not atomic. Symptom: a user operation needs to be undone two or three times before we get back to the initial state. This is especially the case for Stereotype manipulation. I suggest closing this task (Which has been opened in 2010 and not updated since then). Specific tasks already exist, and are not related to this one. See e.g. Bug 323016, Bug 385761 (Stereotypes), Bug 420557 (Undo/Redo handlers)