Package org.eclipse.ui.operations

Examples of org.eclipse.ui.operations.LinearUndoViolationUserApprover


      // The second approver will prompt from this editor when an undo is attempted on an operation
      // and it is not the most recent operation in the editor.
      if (fLinearUndoViolationApprover != null)
        history.removeOperationApprover(fLinearUndoViolationApprover);
      fLinearUndoViolationApprover= new LinearUndoViolationUserApprover(undoContext, this);
      history.addOperationApprover(fLinearUndoViolationApprover);

    } else {
      // Use text operation actions (pre 3.1 style)
     
View Full Code Here


      // The second approver will prompt from this editor when an undo is attempted on an operation
      // and it is not the most recent operation in the editor.
      if (fLinearUndoViolationApprover != null)
        history.removeOperationApprover(fLinearUndoViolationApprover);
      fLinearUndoViolationApprover= new LinearUndoViolationUserApprover(undoContext, this);
      history.addOperationApprover(fLinearUndoViolationApprover);

    } else {
      // Use text operation actions (pre 3.1 style)
View Full Code Here

TOP

Related Classes of org.eclipse.ui.operations.LinearUndoViolationUserApprover

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.