public class UndoCommand extends Object implements UndoContextAware, Command
| Constructor and Description |
|---|
UndoCommand(ConsoleEditor editor) |
UndoCommand(ConsoleEditor editor,
UndoContext context) |
| Modifier and Type | Method and Description |
|---|---|
void |
execute()
Executes the command.
|
void |
setUndoContext(UndoContext context)
Sets the
UndoContext. |
public UndoCommand(ConsoleEditor editor)
public UndoCommand(ConsoleEditor editor, UndoContext context)
public void setUndoContext(UndoContext context)
UndoContextAwareUndoContext.setUndoContext in interface UndoContextAwareCopyright © 2013. All Rights Reserved.