Uses of Interface
org.eclipse.core.commands.operations.IUndoContext
Package
Description
Classes for the creation of undoable operations which can be added to an operations
history and later be undone and redone.
Provides a generic debugger user interface that clients may customize via standard
workbench extension points.
Provides a framework for creating and manipulating text documents.
Provides undo and redo support for a document.
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.
Provides a framework for text editors obeying to the
desktop rules.
-
Uses of IUndoContext in org.eclipse.core.commands.operations
Modifier and TypeClassDescriptionfinal class
An undo context that can be used to represent any given object.class
A simple, lightweight undo context that can be used to tag any operation.Modifier and TypeFieldDescriptionstatic final IUndoContext
IOperationHistory.GLOBAL_UNDO_CONTEXT
An undo context that can be used to refer to the global undo history.Modifier and TypeMethodDescriptionfinal IUndoContext[]
AbstractOperation.getContexts()
IUndoableOperation.getContexts()
Returns the array of contexts that have been assigned to the operation.Modifier and TypeMethodDescriptionvoid
AbstractOperation.addContext
(IUndoContext context) void
IUndoableOperation.addContext
(IUndoContext context) Add the specified context to the operation.void
TriggeredOperations.addContext
(IUndoContext context) Add the specified context to the operation.void
ObjectUndoContext.addMatch
(IUndoContext context) Add the specified context as a match of this context.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.boolean
DefaultOperationHistory.canRedo
(IUndoContext context) boolean
IOperationHistory.canRedo
(IUndoContext context) Return whether there is a valid redoable operation available in the given context.boolean
DefaultOperationHistory.canUndo
(IUndoContext context) boolean
IOperationHistory.canUndo
(IUndoContext context) Return whether there is a valid undoable operation available in the given contextvoid
DefaultOperationHistory.dispose
(IUndoContext context, boolean flushUndo, boolean flushRedo, boolean flushContext) void
IOperationHistory.dispose
(IUndoContext context, boolean flushUndo, boolean flushRedo, boolean flushContext) Dispose of the specified context in the history.int
DefaultOperationHistory.getLimit
(IUndoContext context) int
IOperationHistory.getLimit
(IUndoContext context) Return the limit on the undo and redo history for a particular context.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.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.final boolean
AbstractOperation.hasContext
(IUndoContext context) boolean
IUndoableOperation.hasContext
(IUndoContext context) Returns whether the operation has a matching context for the specified context.boolean
IUndoContext.matches
(IUndoContext context) Return whether the specified context is considered a match for the receiving context.boolean
ObjectUndoContext.matches
(IUndoContext context) boolean
UndoContext.matches
(IUndoContext context) Return whether the specified context is considered a match for the receiving context.DefaultOperationHistory.redo
(IUndoContext context, IProgressMonitor monitor, IAdaptable info) IOperationHistory.redo
(IUndoContext context, IProgressMonitor monitor, IAdaptable info) Redo the most recently undone operation in the given context.void
AbstractOperation.removeContext
(IUndoContext context) void
IUndoableOperation.removeContext
(IUndoContext context) Remove the specified context from the operation.void
TriggeredOperations.removeContext
(IUndoContext context) Remove the specified context from the receiver.void
ObjectUndoContext.removeMatch
(IUndoContext context) Remove the specified context as a match of this context.void
IContextReplacingOperation.replaceContext
(IUndoContext original, IUndoContext replacement) Replace the undo context of the receiver with the provided replacement undo context.void
TriggeredOperations.replaceContext
(IUndoContext original, IUndoContext replacement) Replace the undo context of the receiver with the provided replacement undo context.void
DefaultOperationHistory.setLimit
(IUndoContext context, int limit) void
IOperationHistory.setLimit
(IUndoContext context, int limit) Set the limit on the undo and redo history for a particular context.DefaultOperationHistory.undo
(IUndoContext context, IProgressMonitor monitor, IAdaptable info) IOperationHistory.undo
(IUndoContext context, IProgressMonitor monitor, IAdaptable info) Undo the most recently executed operation in the given context. -
Uses of IUndoContext in org.eclipse.debug.ui
Modifier and TypeMethodDescriptionstatic IUndoContext
DebugUITools.getBreakpointsUndoContext()
Return the undo context that should be used for operations involving breakpoints. -
Uses of IUndoContext in org.eclipse.jface.text
Modifier and TypeMethodDescriptionDefaultUndoManager.getUndoContext()
Deprecated.IUndoManagerExtension.getUndoContext()
Returns this undo manager's undo context.TextViewerUndoManager.getUndoContext()
-
Uses of IUndoContext in org.eclipse.text.undo
Modifier and TypeMethodDescriptionDocumentUndoManager.getUndoContext()
IDocumentUndoManager.getUndoContext()
Returns the undo context registered for this document -
Uses of IUndoContext in org.eclipse.ui.ide.undo
Modifier and TypeMethodDescriptionstatic IUndoContext
WorkspaceUndoUtil.getBookmarksUndoContext()
Return the undo context that should be used for operations involving bookmarks.static IUndoContext
WorkspaceUndoUtil.getProblemsUndoContext()
Return the undo context that should be used for operations involving problems.static IUndoContext
WorkspaceUndoUtil.getTasksUndoContext()
Return the undo context that should be used for operations involving tasks.static IUndoContext
WorkspaceUndoUtil.getWorkspaceUndoContext()
Return the undo context that should be used for workspace-wide operations -
Uses of IUndoContext in org.eclipse.ui.operations
Modifier and TypeMethodDescriptionIWorkbenchOperationSupport.getUndoContext()
Returns the undo context for workbench-wide operations.Modifier 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) void
OperationHistoryActionHandler.setContext
(IUndoContext context) Set the context shown by the handler.ModifierConstructorDescriptionLinearUndoViolationUserApprover
(IUndoContext context, IWorkbenchPart part) Create a LinearUndoViolationUserApprover associated with the specified workbench part.NonLocalUndoUserApprover
(IUndoContext context, IEditorPart part, Object[] affectedObjects, Class<?> preferredComparisonClass) Create a NonLocalUndoUserApprover associated with the specified editor and undo contextRedoActionHandler
(IWorkbenchPartSite site, IUndoContext context) Construct an action handler that handles the labelling and enabling of the redo action for the specified undo context.UndoActionHandler
(IWorkbenchPartSite site, IUndoContext context) Construct an action handler that handles the labelling and enabling of the undo action for the specified undo context.UndoRedoActionGroup
(IWorkbenchPartSite site, IUndoContext undoContext, boolean pruneHistory) Construct an undo redo action group for the specified workbench part site, using the specified undo context. -
Uses of IUndoContext in org.eclipse.ui.texteditor
Modifier and TypeMethodDescriptionprotected IOperationApprover
AbstractDecoratedTextEditor.getUndoRedoOperationApprover
(IUndoContext undoContext) protected IOperationApprover
AbstractTextEditor.getUndoRedoOperationApprover
(IUndoContext undoContext) Return anIOperationApprover
appropriate for approving the undo and redo of operations that have the specified undo context.