Uses of Interface
org.eclipse.core.commands.operations.IUndoContext
Packages that use 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
Classes in org.eclipse.core.commands.operations that implement IUndoContextModifier and TypeClassDescriptionfinal classAn undo context that can be used to represent any given object.classA simple, lightweight undo context that can be used to tag any operation.Fields in org.eclipse.core.commands.operations declared as IUndoContextModifier and TypeFieldDescriptionstatic final IUndoContextIOperationHistory.GLOBAL_UNDO_CONTEXTAn undo context that can be used to refer to the global undo history.Methods in org.eclipse.core.commands.operations that return IUndoContextModifier and TypeMethodDescriptionfinal IUndoContext[]AbstractOperation.getContexts()IUndoableOperation.getContexts()Returns the array of contexts that have been assigned to the operation.Methods in org.eclipse.core.commands.operations with parameters of type IUndoContextModifier and TypeMethodDescriptionvoidAbstractOperation.addContext(IUndoContext context) voidIUndoableOperation.addContext(IUndoContext context) Add the specified context to the operation.voidTriggeredOperations.addContext(IUndoContext context) Add the specified context to the operation.voidObjectUndoContext.addMatch(IUndoContext context) Add the specified context as a match of this context.protected IStatusLinearUndoEnforcer.allowLinearRedoViolation(IUndoableOperation operation, IUndoContext context, IOperationHistory history, IAdaptable uiInfo) protected abstract IStatusLinearUndoViolationDetector.allowLinearRedoViolation(IUndoableOperation operation, IUndoContext context, IOperationHistory history, IAdaptable info) Return a status indicating whether a linear redo violation is allowable.protected IStatusLinearUndoEnforcer.allowLinearUndoViolation(IUndoableOperation operation, IUndoContext context, IOperationHistory history, IAdaptable uiInfo) protected abstract IStatusLinearUndoViolationDetector.allowLinearUndoViolation(IUndoableOperation operation, IUndoContext context, IOperationHistory history, IAdaptable info) Return a status indicating whether a linear undo violation is allowable.booleanDefaultOperationHistory.canRedo(IUndoContext context) booleanIOperationHistory.canRedo(IUndoContext context) Return whether there is a valid redoable operation available in the given context.booleanDefaultOperationHistory.canUndo(IUndoContext context) booleanIOperationHistory.canUndo(IUndoContext context) Return whether there is a valid undoable operation available in the given contextvoidDefaultOperationHistory.dispose(IUndoContext context, boolean flushUndo, boolean flushRedo, boolean flushContext) voidIOperationHistory.dispose(IUndoContext context, boolean flushUndo, boolean flushRedo, boolean flushContext) Dispose of the specified context in the history.intDefaultOperationHistory.getLimit(IUndoContext context) intIOperationHistory.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 booleanAbstractOperation.hasContext(IUndoContext context) booleanIUndoableOperation.hasContext(IUndoContext context) Returns whether the operation has a matching context for the specified context.booleanIUndoContext.matches(IUndoContext context) Return whether the specified context is considered a match for the receiving context.booleanObjectUndoContext.matches(IUndoContext context) booleanUndoContext.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.voidAbstractOperation.removeContext(IUndoContext context) voidIUndoableOperation.removeContext(IUndoContext context) Remove the specified context from the operation.voidTriggeredOperations.removeContext(IUndoContext context) Remove the specified context from the receiver.voidObjectUndoContext.removeMatch(IUndoContext context) Remove the specified context as a match of this context.voidIContextReplacingOperation.replaceContext(IUndoContext original, IUndoContext replacement) Replace the undo context of the receiver with the provided replacement undo context.voidTriggeredOperations.replaceContext(IUndoContext original, IUndoContext replacement) Replace the undo context of the receiver with the provided replacement undo context.voidDefaultOperationHistory.setLimit(IUndoContext context, int limit) voidIOperationHistory.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
Methods in org.eclipse.debug.ui that return IUndoContextModifier and TypeMethodDescriptionstatic IUndoContextDebugUITools.getBreakpointsUndoContext()Return the undo context that should be used for operations involving breakpoints. -
Uses of IUndoContext in org.eclipse.jface.text
Methods in org.eclipse.jface.text that return IUndoContextModifier and TypeMethodDescriptionDefaultUndoManager.getUndoContext()Deprecated, for removal: This API element is subject to removal in a future version.IUndoManagerExtension.getUndoContext()Returns this undo manager's undo context.TextViewerUndoManager.getUndoContext() -
Uses of IUndoContext in org.eclipse.text.undo
Methods in org.eclipse.text.undo that return IUndoContextModifier and TypeMethodDescriptionDocumentUndoManager.getUndoContext()IDocumentUndoManager.getUndoContext()Returns the undo context registered for this document -
Uses of IUndoContext in org.eclipse.ui.ide.undo
Methods in org.eclipse.ui.ide.undo that return IUndoContextModifier and TypeMethodDescriptionstatic IUndoContextWorkspaceUndoUtil.getBookmarksUndoContext()Return the undo context that should be used for operations involving bookmarks.static IUndoContextWorkspaceUndoUtil.getProblemsUndoContext()Return the undo context that should be used for operations involving problems.static IUndoContextWorkspaceUndoUtil.getTasksUndoContext()Return the undo context that should be used for operations involving tasks.static IUndoContextWorkspaceUndoUtil.getWorkspaceUndoContext()Return the undo context that should be used for workspace-wide operations -
Uses of IUndoContext in org.eclipse.ui.operations
Methods in org.eclipse.ui.operations that return IUndoContextModifier and TypeMethodDescriptionIWorkbenchOperationSupport.getUndoContext()Returns the undo context for workbench-wide operations.Methods in org.eclipse.ui.operations with parameters of type IUndoContextModifier and TypeMethodDescriptionprotected IStatusLinearUndoViolationUserApprover.allowLinearRedoViolation(IUndoableOperation operation, IUndoContext context, IOperationHistory history, IAdaptable uiInfo) protected IStatusLinearUndoViolationUserApprover.allowLinearUndoViolation(IUndoableOperation operation, IUndoContext context, IOperationHistory history, IAdaptable uiInfo) voidOperationHistoryActionHandler.setContext(IUndoContext context) Set the context shown by the handler.Constructors in org.eclipse.ui.operations with parameters of type IUndoContextModifierConstructorDescriptionLinearUndoViolationUserApprover(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
Methods in org.eclipse.ui.texteditor with parameters of type IUndoContextModifier and TypeMethodDescriptionprotected IOperationApproverAbstractDecoratedTextEditor.getUndoRedoOperationApprover(IUndoContext undoContext) protected IOperationApproverAbstractTextEditor.getUndoRedoOperationApprover(IUndoContext undoContext) Return anIOperationApproverappropriate for approving the undo and redo of operations that have the specified undo context.