public interface CommandListener
Modifier and Type | Method and Description |
---|---|
void |
executed(CommandManager cm,
Command c)
Called when the command is executed the very first time on a document.
|
void |
redone(CommandManager cm,
Command c)
Called when the command has been re-executed after it has been undone.
|
void |
undone(CommandManager cm,
Command c)
Called when the command has been undone on a document.
|
void executed(CommandManager cm, Command c)
cm
- the command managerc
- the command that just has been executedvoid undone(CommandManager cm, Command c)
cm
- the command managerc
- the command that just has been undonevoid redone(CommandManager cm, Command c)
cm
- the command managerc
- the command that just has been redoneCopyright © 2014 Uppsala University and Aalborg University. All Rights Reserved.