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.ide.undo |
APIs that provide undo and redo behavior for operations that manipulate
the workspace.
|
org.eclipse.ui.operations |
Classes that provide the basic workbench UI support for undo and redo of
operations.
|
org.eclipse.ui.views.markers |
Utility classes for working with markers in views
|
Modifier and Type | Interface and Description |
---|---|
interface |
ICompositeOperation
ICompositeOperation defines an undoable operation that is composed of child
operations.
|
Modifier and Type | Class and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
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[] |
DefaultOperationHistory.getRedoHistory(IUndoContext context) |
IUndoableOperation |
IOperationHistory.getRedoOperation(IUndoContext context)
Get the operation that will next be redone in the given undo context.
|
IUndoableOperation |
DefaultOperationHistory.getRedoOperation(IUndoContext context) |
IUndoableOperation |
TriggeredOperations.getTriggeringOperation()
Return the operation that triggered the other operations in this
composite.
|
IUndoableOperation[] |
IOperationHistory.getUndoHistory(IUndoContext context)
Get the array of operations in the undo history for the specified undo
context.
|
IUndoableOperation[] |
DefaultOperationHistory.getUndoHistory(IUndoContext context) |
IUndoableOperation |
IOperationHistory.getUndoOperation(IUndoContext context)
Get the operation that will next be undone in the given undo context.
|
IUndoableOperation |
DefaultOperationHistory.getUndoOperation(IUndoContext context) |
Modifier and Type | Method and Description |
---|---|
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) |
void |
DefaultOperationHistory.add(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 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 |
IOperationHistory.execute(IUndoableOperation operation,
IProgressMonitor monitor,
IAdaptable info)
Execute the specified operation and add it to the operations history if
successful.
|
IStatus |
DefaultOperationHistory.execute(IUndoableOperation operation,
IProgressMonitor monitor,
IAdaptable info) |
void |
IOperationHistory.operationChanged(IUndoableOperation operation)
The specified operation has changed in some way since it was added to the
operation history.
|
void |
DefaultOperationHistory.operationChanged(IUndoableOperation operation) |
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.
|
IStatus |
IOperationHistory.redoOperation(IUndoableOperation operation,
IProgressMonitor monitor,
IAdaptable info)
Redo the specified operation.
|
IStatus |
DefaultOperationHistory.redoOperation(IUndoableOperation operation,
IProgressMonitor monitor,
IAdaptable info) |
void |
ICompositeOperation.remove(IUndoableOperation operation)
Remove the specified operation from this operation.
|
void |
TriggeredOperations.remove(IUndoableOperation operation) |
void |
IOperationHistory.replaceOperation(IUndoableOperation operation,
IUndoableOperation[] replacements)
Replace the specified operation in the undo or redo history with the
provided list of replacements.
|
void |
IOperationHistory.replaceOperation(IUndoableOperation operation,
IUndoableOperation[] replacements)
Replace the specified operation in the undo or redo history with the
provided list of replacements.
|
void |
DefaultOperationHistory.replaceOperation(IUndoableOperation operation,
IUndoableOperation[] replacements) |
void |
DefaultOperationHistory.replaceOperation(IUndoableOperation operation,
IUndoableOperation[] replacements) |
IStatus |
IOperationHistory.undoOperation(IUndoableOperation operation,
IProgressMonitor monitor,
IAdaptable info)
Undo the specified operation.
|
IStatus |
DefaultOperationHistory.undoOperation(IUndoableOperation operation,
IProgressMonitor monitor,
IAdaptable info) |
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 | Class and Description |
---|---|
class |
AbstractWorkspaceOperation
An AbstractWorkspaceOperation represents an undoable operation that affects
the workspace.
|
class |
CopyProjectOperation
A CopyProjectOperation represents an undoable operation for copying a
project, also specifying the location of its contents.
|
class |
CopyResourcesOperation
A CopyResourcesOperation represents an undoable operation for copying one or
more resources in the workspace.
|
class |
CreateFileOperation
A CreateFileOperation represents an undoable operation for creating a file in
the workspace.
|
class |
CreateFolderOperation
A CreateFolderOperation represents an undoable operation for creating a
folder in the workspace.
|
class |
CreateMarkersOperation
A CreateMarkersOperation represents an undoable operation for creating one or
more markers on one or more resources in the workspace.
|
class |
CreateProjectOperation
A CreateProjectOperation represents an undoable operation for creating a
project in the workspace.
|
class |
DeleteMarkersOperation
A DeleteMarkersOperation represents an undoable operation for deleting one or
more markers in the workspace.
|
class |
DeleteResourcesOperation
A DeleteResourcesOperation represents an undoable operation for deleting one
or more resources in the workspace.
|
class |
MoveProjectOperation
A MoveProjectOperation represents an undoable operation for moving a
project's content to a different location.
|
class |
MoveResourcesOperation
A MoveResourcesOperation represents an undoable operation for moving one or
more resources in the workspace.
|
class |
UpdateMarkersOperation
An UpdateMarkersOperation represents an undoable operation for updating one
or more markers in the workspace with one or more sets of attributes.
|
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) |
Modifier and Type | Method and Description |
---|---|
void |
MarkerViewHandler.execute(IUndoableOperation operation,
String title,
IProgressMonitor monitor,
IAdaptable uiInfo)
Execute the specified undoable operation
|
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.