| org.eclipse.ui.operations.LinearUndoViolationUserApprover
LinearUndoViolationUserApprover | final public class LinearUndoViolationUserApprover extends LinearUndoViolationDetector (Code) | |
An operation approver that prompts the user to see if linear undo violations
are permitted. A linear undo violation is detected when an operation being
undone or redone shares an undo context with another operation appearing more
recently in the history.
This class may be instantiated by clients.
since: 3.1 |
Method Summary | |
protected IStatus | allowLinearRedoViolation(IUndoableOperation operation, IUndoContext context, IOperationHistory history, IAdaptable uiInfo) | protected IStatus | allowLinearUndoViolation(IUndoableOperation operation, IUndoContext context, IOperationHistory history, IAdaptable uiInfo) |
LinearUndoViolationUserApprover | public LinearUndoViolationUserApprover(IUndoContext context, IWorkbenchPart part)(Code) | | Create a LinearUndoViolationUserApprover associated with the specified
workbench part.
Parameters: context - the undo context with the linear undo violation Parameters: part - the part that should be used for prompting the user |
allowLinearRedoViolation | protected IStatus allowLinearRedoViolation(IUndoableOperation operation, IUndoContext context, IOperationHistory history, IAdaptable uiInfo)(Code) | | |
allowLinearUndoViolation | protected IStatus allowLinearUndoViolation(IUndoableOperation operation, IUndoContext context, IOperationHistory history, IAdaptable uiInfo)(Code) | | |
|
|