public class PrintNavigationChangeUndoableOperation extends BulkUndoableOperation
| Constructor and Description |
|---|
PrintNavigationChangeUndoableOperation(List<UndoableOperation> operations) |
PrintNavigationChangeUndoableOperation(List<UndoableOperation> operations,
String labelKey) |
| Modifier and Type | Method and Description |
|---|---|
String |
getRedoPresentationName()
A human readable description of the re-do operation (such as "Re-do edit").
|
String |
getUndoContextDescription() |
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.
|
canRedo, canUndo, getOperations, getRedoContextDescription, isShowOperationCount, setShowOperationCountpublic PrintNavigationChangeUndoableOperation(List<UndoableOperation> operations)
public PrintNavigationChangeUndoableOperation(List<UndoableOperation> operations, String labelKey)
public void redo()
throws CannotRedoException
UndoableOperationredo in interface UndoableOperationredo in class BulkUndoableOperationCannotRedoException - if the operation cannot be redone anymoreUndoableOperation.canRedo()public void undo()
throws CannotUndoException
UndoableOperationundo in interface UndoableOperationundo in class BulkUndoableOperationCannotUndoException - if the operation cannot be undone anymoreUndoableOperation.canUndo()public String getUndoPresentationName()
UndoableOperationgetUndoPresentationName in interface UndoableOperationgetUndoPresentationName in class BulkUndoableOperationpublic String getRedoPresentationName()
UndoableOperationgetRedoPresentationName in interface UndoableOperationgetRedoPresentationName in class BulkUndoableOperationpublic String getUndoContextDescription()
getUndoContextDescription in interface UndoableOperationgetUndoContextDescription in class BulkUndoableOperationCopyright © 2017 SAP SE. All Rights Reserved.