Eclipse Platform
Release 3.1

Uses of Interface
org.eclipse.core.commands.operations.IOperationApprover

Packages that use IOperationApprover
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.operations Classes that provide the basic workbench UI support for undo and redo of operations.  
org.eclipse.ui.texteditor Provides a framework for text editors obeying to the desktop rules.  
 

Uses of IOperationApprover in org.eclipse.core.commands.operations
 

Classes in org.eclipse.core.commands.operations that implement IOperationApprover
 class LinearUndoEnforcer
           An operation approver that enforces a strict linear undo.
 class LinearUndoViolationDetector
           An abstract class for detecting violations in a strict linear undo/redo model.
 

Methods in org.eclipse.core.commands.operations with parameters of type IOperationApprover
 void IOperationHistory.addOperationApprover(IOperationApprover approver)
           Add the specified approver to the list of operation approvers consulted by the operation history before an undo or redo is allowed to proceed.
 void IOperationHistory.removeOperationApprover(IOperationApprover approver)
           Remove the specified operation approver from the list of operation approvers that are consulted before an operation is undone or redone.
 void DefaultOperationHistory.addOperationApprover(IOperationApprover approver)
           Add the specified approver to the list of operation approvers consulted by the operation history before an undo or redo is allowed to proceed.
 void DefaultOperationHistory.removeOperationApprover(IOperationApprover approver)
           
 

Uses of IOperationApprover in org.eclipse.ui.operations
 

Classes in org.eclipse.ui.operations that implement IOperationApprover
 class LinearUndoViolationUserApprover
           An operation approver that prompts the user to see if linear undo violations are permitted.
 class NonLocalUndoUserApprover
           An operation approver that prompts the user to see if a non-local undo should proceed inside an editor.
 

Uses of IOperationApprover in org.eclipse.ui.texteditor
 

Methods in org.eclipse.ui.texteditor that return IOperationApprover
protected  IOperationApprover AbstractTextEditor.getUndoRedoOperationApprover(IUndoContext undoContext)
          Return an IOperationApprover appropriate for approving the undo and redo of operations that have the specified undo context.
protected  IOperationApprover AbstractDecoratedTextEditor.getUndoRedoOperationApprover(IUndoContext undoContext)
           
 


Eclipse Platform
Release 3.1

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2000, 2005. All rights reserved.