Package org.eclipse.ui.operations

Examples of org.eclipse.ui.operations.NonLocalUndoUserApprover


   *       and redo operations inside this editor, or <code>null</code> if no
   *       approval is needed
   * @since 3.1
   */
  protected IOperationApprover getUndoRedoOperationApprover(IUndoContext undoContext) {
    return new NonLocalUndoUserApprover(undoContext, this, new Object [] { getEditorInput() }, Object.class);
  }
View Full Code Here


   * @since 3.1
   */
  protected IOperationApprover getUndoRedoOperationApprover(IUndoContext undoContext) {
    IEditorInput input= getEditorInput();
    if (input != null && input.getAdapter(IResource.class) != null)
      return new NonLocalUndoUserApprover(undoContext, this, new Object [] { input }, IResource.class);
    return super.getUndoRedoOperationApprover(undoContext);
  }
View Full Code Here

   *       and redo operations inside this editor, or <code>null</code> if no
   *       approval is needed
   * @since 3.1
   */
  protected IOperationApprover getUndoRedoOperationApprover(IUndoContext undoContext) {
    return new NonLocalUndoUserApprover(undoContext, this, new Object [] { getEditorInput() }, Object.class);
  }
View Full Code Here

TOP

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

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.