Package | Description |
---|---|
org.eclipse.core.commands.operations |
Classes for the creation of undoable operations which can be added to an operations
history and later be undone and redone.
|
org.eclipse.ui.operations |
Classes that provide the basic workbench UI support for undo and redo of
operations.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultOperationHistory
A base implementation of IOperationHistory that implements a linear undo and
redo model .
|
Modifier and Type | Method and Description |
---|---|
IOperationHistory |
OperationHistoryEvent.getHistory()
Return the operation history that triggered this event.
|
static IOperationHistory |
OperationHistoryFactory.getOperationHistory()
Return the operation history to be used for managing undoable operations.
|
Modifier and Type | Method and Description |
---|---|
protected abstract IStatus |
LinearUndoViolationDetector.allowLinearRedoViolation(IUndoableOperation operation,
IUndoContext context,
IOperationHistory history,
IAdaptable info)
Return a status indicating whether a linear redo violation is allowable.
|
protected IStatus |
LinearUndoEnforcer.allowLinearRedoViolation(IUndoableOperation operation,
IUndoContext context,
IOperationHistory history,
IAdaptable uiInfo) |
protected abstract IStatus |
LinearUndoViolationDetector.allowLinearUndoViolation(IUndoableOperation operation,
IUndoContext context,
IOperationHistory history,
IAdaptable info)
Return a status indicating whether a linear undo violation is allowable.
|
protected IStatus |
LinearUndoEnforcer.allowLinearUndoViolation(IUndoableOperation operation,
IUndoContext context,
IOperationHistory history,
IAdaptable uiInfo) |
IStatus |
IOperationApprover2.proceedExecuting(IUndoableOperation operation,
IOperationHistory history,
IAdaptable info)
Return a status indicating whether the specified operation should be
executed.
|
IStatus |
LinearUndoViolationDetector.proceedRedoing(IUndoableOperation operation,
IOperationHistory history,
IAdaptable info) |
IStatus |
IOperationApprover.proceedRedoing(IUndoableOperation operation,
IOperationHistory history,
IAdaptable info)
Return a status indicating whether the specified operation should be
redone.
|
IStatus |
LinearUndoViolationDetector.proceedUndoing(IUndoableOperation operation,
IOperationHistory history,
IAdaptable info) |
IStatus |
IOperationApprover.proceedUndoing(IUndoableOperation operation,
IOperationHistory history,
IAdaptable info)
Return a status indicating whether the specified operation should be
undone.
|
static void |
OperationHistoryFactory.setOperationHistory(IOperationHistory history)
Set the operation history to be used for managing undoable operations.
|
Constructor and Description |
---|
OperationHistoryEvent(int code,
IOperationHistory history,
IUndoableOperation operation)
Construct an event for the specified operation history.
|
OperationHistoryEvent(int code,
IOperationHistory history,
IUndoableOperation operation,
IStatus status)
Construct an event for the specified operation history.
|
TriggeredOperations(IUndoableOperation operation,
IOperationHistory history)
Construct a composite triggered operations using the specified undoable
operation as the trigger.
|
Modifier and Type | Method and Description |
---|---|
IOperationHistory |
IWorkbenchOperationSupport.getOperationHistory()
Returns the operation history for the workbench.
|
Modifier and Type | Method and Description |
---|---|
protected IStatus |
LinearUndoViolationUserApprover.allowLinearRedoViolation(IUndoableOperation operation,
IUndoContext context,
IOperationHistory history,
IAdaptable uiInfo) |
protected IStatus |
LinearUndoViolationUserApprover.allowLinearUndoViolation(IUndoableOperation operation,
IUndoContext context,
IOperationHistory history,
IAdaptable uiInfo) |
IStatus |
NonLocalUndoUserApprover.proceedRedoing(IUndoableOperation operation,
IOperationHistory history,
IAdaptable uiInfo) |
IStatus |
NonLocalUndoUserApprover.proceedUndoing(IUndoableOperation operation,
IOperationHistory history,
IAdaptable uiInfo) |
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.