|Re: How to add undo/redo to my action from a context menu [message #206924 is a reply to message #206797]
||Mon, 09 January 2006 09:38
Originally posted by: ingo.koch[nospam].sap.com|
do not mix up actions and commands.
Undo and redo is implemented in a command (extending AbstractCommand).
Commands can be triggered in your action (extending SelectionAction) by
Perhaps you are talking of the undo/redo action: add them to your context
action = getActionRegistry().getAction(ActionFactory.UNDO.getId());
action = getActionRegistry().getAction(ActionFactory.REDO.getId());
"Danny Nguyen" <email@example.com> wrote in message
> Hi everyone.
> Please show me how I can add undo/redo function to my actions which are
> executed from a context menu.
Powered by FUDForum
. Page generated in 0.05804 seconds