public class UndoManager extends Object
Modifier and Type | Field and Description |
---|---|
static boolean |
ENABLE_UNDO_MANAGER |
Constructor and Description |
---|
UndoManager(VizController controller) |
Modifier and Type | Method and Description |
---|---|
void |
addRecovery(RecoveryObjectIF recovery) |
boolean |
canRedo() |
boolean |
canUndo() |
void |
completeOperation() |
void |
redo() |
void |
reset() |
void |
startOperation(RecoveryObjectIF operation) |
void |
undo() |
public static final boolean ENABLE_UNDO_MANAGER
public UndoManager(VizController controller)
public void reset()
public void startOperation(RecoveryObjectIF operation)
public void completeOperation()
public void addRecovery(RecoveryObjectIF recovery)
public void undo()
public void redo()
public boolean canUndo()
public boolean canRedo()