public interface UndoableOperation
| Modifier and Type | Method and Description |
|---|---|
boolean |
canRedo()
Returns true is the operation can be redone.
|
boolean |
canUndo()
Returns true if the operation can be undone.
|
java.lang.String |
getRedoContextDescription() |
java.lang.String |
getRedoPresentationName()
A human readable description of the re-do operation (such as "Re-do edit").
|
java.lang.String |
getUndoContextDescription() |
java.lang.String |
getUndoPresentationName()
A human readable description of the undo operation (such as "Undo edit").
|
void |
redo()
Redo the operation that has been undone.
|
void |
undo()
Undo the operation.
|
void undo() throws CannotUndoException
CannotUndoException - if the operation cannot be undone anymorecanUndo()boolean canUndo()
void redo() throws CannotRedoException
CannotRedoException - if the operation cannot be redone anymorecanRedo()boolean canRedo()
java.lang.String getUndoPresentationName()
java.lang.String getRedoPresentationName()
java.lang.String getUndoContextDescription()
java.lang.String getRedoContextDescription()
Copyright © 2018 SAP SE. All Rights Reserved.