Eclipse Platform
Release 3.1

Uses of Interface
org.eclipse.core.commands.operations.IUndoableOperation

Packages that use IUndoableOperation
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.  
 

Uses of IUndoableOperation in org.eclipse.core.commands.operations
 

Subinterfaces of IUndoableOperation in org.eclipse.core.commands.operations
 interface ICompositeOperation
           ICompositeOperation defines an undoable operation that is composed of child operations.
 

Classes in org.eclipse.core.commands.operations that implement IUndoableOperation
 class AbstractOperation
           Abstract implementation for an undoable operation.
 class TriggeredOperations
           Triggered operations are a specialized implementation of a composite operation that keeps track of operations triggered by the execution of some primary operation.
 

Methods in org.eclipse.core.commands.operations that return IUndoableOperation
 IUndoableOperation TriggeredOperations.getTriggeringOperation()
          Return the operation that triggered the other operations in this composite.
 IUndoableOperation OperationHistoryEvent.getOperation()
          Return the operation associated with this event.
 IUndoableOperation[] IOperationHistory.getRedoHistory(IUndoContext context)
           Get the array of operations in the redo history for a the specified undo context.
 IUndoableOperation IOperationHistory.getRedoOperation(IUndoContext context)
           Get the operation that will next be redone in the given undo context.
 IUndoableOperation[] IOperationHistory.getUndoHistory(IUndoContext context)
           Get the array of operations in the undo history for the specified undo context.
 IUndoableOperation IOperationHistory.getUndoOperation(IUndoContext context)
           Get the operation that will next be undone in the given undo context.
 IUndoableOperation[] DefaultOperationHistory.getRedoHistory(IUndoContext context)
           
 IUndoableOperation DefaultOperationHistory.getRedoOperation(IUndoContext context)
           
 IUndoableOperation[] DefaultOperationHistory.getUndoHistory(IUndoContext context)
           
 IUndoableOperation DefaultOperationHistory.getUndoOperation(IUndoContext context)
           
 

Methods in org.eclipse.core.commands.operations with parameters of type IUndoableOperation
 void TriggeredOperations.add(IUndoableOperation operation)
           
 void TriggeredOperations.remove(IUndoableOperation operation)
           
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 abstract  IStatus LinearUndoViolationDetector.allowLinearUndoViolation(IUndoableOperation operation, IUndoContext context, IOperationHistory history, IAdaptable info)
          Return a status indicating whether a linear undo violation is allowable.
 IStatus LinearUndoViolationDetector.proceedRedoing(IUndoableOperation operation, IOperationHistory history, IAdaptable info)
           
 IStatus LinearUndoViolationDetector.proceedUndoing(IUndoableOperation operation, IOperationHistory history, IAdaptable info)
           
protected  IStatus LinearUndoEnforcer.allowLinearRedoViolation(IUndoableOperation operation, IUndoContext context, IOperationHistory history, IAdaptable uiInfo)
           
protected  IStatus LinearUndoEnforcer.allowLinearUndoViolation(IUndoableOperation operation, IUndoContext context, IOperationHistory history, IAdaptable uiInfo)
           
 void IOperationHistory.add(IUndoableOperation operation)
           Add the specified operation to the history without executing it.
 IStatus IOperationHistory.execute(IUndoableOperation operation, IProgressMonitor monitor, IAdaptable info)
           Execute the specified operation and add it to the operations history if successful.
 void IOperationHistory.operationChanged(IUndoableOperation operation)
           The specified operation has changed in some way since it was added to the operation history.
 IStatus IOperationHistory.redoOperation(IUndoableOperation operation, IProgressMonitor monitor, IAdaptable info)
           Redo the specified operation
 void IOperationHistory.replaceOperation(IUndoableOperation operation, IUndoableOperation[] replacements)
           Replace the specified operation in the undo or redo history with the provided list of replacements.
 IStatus IOperationHistory.undoOperation(IUndoableOperation operation, IProgressMonitor monitor, IAdaptable info)
           Undo the specified operation
 IStatus IOperationApprover.proceedRedoing(IUndoableOperation operation, IOperationHistory history, IAdaptable info)
          Return a status indicating whether the specified operation should be redone.
 IStatus IOperationApprover.proceedUndoing(IUndoableOperation operation, IOperationHistory history, IAdaptable info)
          Return a status indicating whether the specified operation should be undone.
 void ICompositeOperation.add(IUndoableOperation operation)
           Add the specified operation as a child of this operation.
 void ICompositeOperation.remove(IUndoableOperation operation)
           Remove the specified operation from this operation.
 void DefaultOperationHistory.add(IUndoableOperation operation)
           
 IStatus DefaultOperationHistory.execute(IUndoableOperation operation, IProgressMonitor monitor, IAdaptable info)
           
 IStatus DefaultOperationHistory.redoOperation(IUndoableOperation operation, IProgressMonitor monitor, IAdaptable info)
           
 void DefaultOperationHistory.replaceOperation(IUndoableOperation operation, IUndoableOperation[] replacements)
           
 IStatus DefaultOperationHistory.undoOperation(IUndoableOperation operation, IProgressMonitor monitor, IAdaptable info)
           
 void DefaultOperationHistory.operationChanged(IUndoableOperation operation)
           
 

Constructors in org.eclipse.core.commands.operations with parameters of type IUndoableOperation
TriggeredOperations(IUndoableOperation operation, IOperationHistory history)
          Construct a composite triggered operations using the specified undoable operation as the trigger.
OperationHistoryEvent(int code, IOperationHistory history, IUndoableOperation operation)
          Construct an event for the specified operation history.
 

Uses of IUndoableOperation in org.eclipse.ui.operations
 

Methods in org.eclipse.ui.operations with parameters of type IUndoableOperation
 IStatus NonLocalUndoUserApprover.proceedRedoing(IUndoableOperation operation, IOperationHistory history, IAdaptable uiInfo)
           
 IStatus NonLocalUndoUserApprover.proceedUndoing(IUndoableOperation operation, IOperationHistory history, IAdaptable uiInfo)
           
protected  IStatus LinearUndoViolationUserApprover.allowLinearRedoViolation(IUndoableOperation operation, IUndoContext context, IOperationHistory history, IAdaptable uiInfo)
           
protected  IStatus LinearUndoViolationUserApprover.allowLinearUndoViolation(IUndoableOperation operation, IUndoContext context, IOperationHistory history, IAdaptable uiInfo)
           
 


Eclipse Platform
Release 3.1

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2000, 2005. All rights reserved.