Uses of Interface
org.eclipse.core.commands.operations.IUndoableOperation
Packages that use IUndoableOperation
Package
Description
Classes for the creation of undoable operations which can be added to an operations
history and later be undone and redone.
APIs that provide undo and redo behavior for operations that manipulate
the workspace.
Classes that provide the basic workbench UI support for undo and redo of
operations.
Utility classes for working with markers in views
-
Uses of IUndoableOperation in org.eclipse.core.commands.operations
Subinterfaces of IUndoableOperation in org.eclipse.core.commands.operationsModifier and TypeInterfaceDescriptioninterface
ICompositeOperation defines an undoable operation that is composed of child operations.Classes in org.eclipse.core.commands.operations that implement IUndoableOperationModifier and TypeClassDescriptionclass
Abstract implementation for an undoable operation.final class
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 IUndoableOperationModifier and TypeMethodDescriptionOperationHistoryEvent.getOperation()
Return the operation associated with this event.DefaultOperationHistory.getRedoHistory
(IUndoContext context) IOperationHistory.getRedoHistory
(IUndoContext context) Get the array of operations in the redo history for a the specified undo context.DefaultOperationHistory.getRedoOperation
(IUndoContext context) IOperationHistory.getRedoOperation
(IUndoContext context) Get the operation that will next be redone in the given undo context.TriggeredOperations.getTriggeringOperation()
Return the operation that triggered the other operations in this composite.DefaultOperationHistory.getUndoHistory
(IUndoContext context) IOperationHistory.getUndoHistory
(IUndoContext context) Get the array of operations in the undo history for the specified undo context.DefaultOperationHistory.getUndoOperation
(IUndoContext context) IOperationHistory.getUndoOperation
(IUndoContext context) Get the operation that will next be undone in the given undo context.Methods in org.eclipse.core.commands.operations with parameters of type IUndoableOperationModifier and TypeMethodDescriptionvoid
DefaultOperationHistory.add
(IUndoableOperation operation) void
ICompositeOperation.add
(IUndoableOperation operation) Add the specified operation as a child of this operation.void
IOperationHistory.add
(IUndoableOperation operation) Add the specified operation to the history without executing it.void
TriggeredOperations.add
(IUndoableOperation operation) protected IStatus
LinearUndoEnforcer.allowLinearRedoViolation
(IUndoableOperation operation, IUndoContext context, IOperationHistory history, IAdaptable uiInfo) 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.allowLinearUndoViolation
(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.DefaultOperationHistory.execute
(IUndoableOperation operation, IProgressMonitor monitor, IAdaptable info) IOperationHistory.execute
(IUndoableOperation operation, IProgressMonitor monitor, IAdaptable info) Execute the specified operation and add it to the operations history if successful.void
DefaultOperationHistory.operationChanged
(IUndoableOperation operation) void
IOperationHistory.operationChanged
(IUndoableOperation operation) The specified operation has changed in some way since it was added to the operation history.IOperationApprover2.proceedExecuting
(IUndoableOperation operation, IOperationHistory history, IAdaptable info) Return a status indicating whether the specified operation should be executed.IOperationApprover.proceedRedoing
(IUndoableOperation operation, IOperationHistory history, IAdaptable info) Return a status indicating whether the specified operation should be redone.final IStatus
LinearUndoViolationDetector.proceedRedoing
(IUndoableOperation operation, IOperationHistory history, IAdaptable info) IOperationApprover.proceedUndoing
(IUndoableOperation operation, IOperationHistory history, IAdaptable info) Return a status indicating whether the specified operation should be undone.final IStatus
LinearUndoViolationDetector.proceedUndoing
(IUndoableOperation operation, IOperationHistory history, IAdaptable info) DefaultOperationHistory.redoOperation
(IUndoableOperation operation, IProgressMonitor monitor, IAdaptable info) IOperationHistory.redoOperation
(IUndoableOperation operation, IProgressMonitor monitor, IAdaptable info) Redo the specified operation.void
ICompositeOperation.remove
(IUndoableOperation operation) Remove the specified operation from this operation.void
TriggeredOperations.remove
(IUndoableOperation operation) void
DefaultOperationHistory.replaceOperation
(IUndoableOperation operation, IUndoableOperation[] replacements) void
IOperationHistory.replaceOperation
(IUndoableOperation operation, IUndoableOperation[] replacements) Replace the specified operation in the undo or redo history with the provided list of replacements.DefaultOperationHistory.undoOperation
(IUndoableOperation operation, IProgressMonitor monitor, IAdaptable info) IOperationHistory.undoOperation
(IUndoableOperation operation, IProgressMonitor monitor, IAdaptable info) Undo the specified operation.Constructors in org.eclipse.core.commands.operations with parameters of type IUndoableOperationModifierConstructorDescriptionOperationHistoryEvent
(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. -
Uses of IUndoableOperation in org.eclipse.ui.ide.undo
Classes in org.eclipse.ui.ide.undo that implement IUndoableOperationModifier and TypeClassDescriptionclass
An AbstractWorkspaceOperation represents an undoable operation that affects the workspace.class
A CopyProjectOperation represents an undoable operation for copying a project, also specifying the location of its contents.class
A CopyResourcesOperation represents an undoable operation for copying one or more resources in the workspace.class
A CreateFileOperation represents an undoable operation for creating a file in the workspace.class
A CreateFolderOperation represents an undoable operation for creating a folder in the workspace.class
A CreateMarkersOperation represents an undoable operation for creating one or more markers on one or more resources in the workspace.class
A CreateProjectOperation represents an undoable operation for creating a project in the workspace.class
A DeleteMarkersOperation represents an undoable operation for deleting one or more markers in the workspace.class
A DeleteResourcesOperation represents an undoable operation for deleting one or more resources in the workspace.class
A MoveProjectOperation represents an undoable operation for moving a project's content to a different location.class
A MoveResourcesOperation represents an undoable operation for moving one or more resources in the workspace.class
An UpdateMarkersOperation represents an undoable operation for updating one or more markers in the workspace with one or more sets of attributes. -
Uses of IUndoableOperation in org.eclipse.ui.operations
Methods in org.eclipse.ui.operations with parameters of type IUndoableOperationModifier and TypeMethodDescriptionprotected IStatus
LinearUndoViolationUserApprover.allowLinearRedoViolation
(IUndoableOperation operation, IUndoContext context, IOperationHistory history, IAdaptable uiInfo) protected IStatus
LinearUndoViolationUserApprover.allowLinearUndoViolation
(IUndoableOperation operation, IUndoContext context, IOperationHistory history, IAdaptable uiInfo) NonLocalUndoUserApprover.proceedRedoing
(IUndoableOperation operation, IOperationHistory history, IAdaptable uiInfo) NonLocalUndoUserApprover.proceedUndoing
(IUndoableOperation operation, IOperationHistory history, IAdaptable uiInfo) -
Uses of IUndoableOperation in org.eclipse.ui.views.markers
Methods in org.eclipse.ui.views.markers with parameters of type IUndoableOperationModifier and TypeMethodDescriptionvoid
MarkerViewHandler.execute
(IUndoableOperation operation, String title, IProgressMonitor monitor, IAdaptable uiInfo) Execute the specified undoable operation