AbstractCompoundCommand, AbstractUndoableCommand, HistoryBrowserInterface.AppendChildCommand, HistoryBrowserInterface.AttributeAddedCommand, HistoryBrowserInterface.AttributeModifiedCommand, HistoryBrowserInterface.AttributeRemovedCommand, HistoryBrowserInterface.ChangeNodeValueCommand, HistoryBrowserInterface.CharDataModifiedCommand, HistoryBrowserInterface.CompoundUpdateCommand, HistoryBrowserInterface.InsertNodeBeforeCommand, HistoryBrowserInterface.NodeInsertedCommand, HistoryBrowserInterface.NodeRemovedCommand, HistoryBrowserInterface.RemoveChildCommand, HistoryBrowserInterface.ReplaceChildCommandpublic interface UndoableCommand
| Modifier and Type | Method | Description |
|---|---|---|
void |
execute() |
Executes this command.
|
java.lang.String |
getName() |
Gets the command name.
|
void |
redo() |
Performs redo for this command.
|
boolean |
shouldExecute() |
Tests if the command can be executed.
|
void |
undo() |
Performs undo for this command.
|
void execute()
void undo()
void redo()
java.lang.String getName()
boolean shouldExecute()
Copyright ? 2018 Apache Software Foundation. All Rights Reserved.