Package org.eclipse.ui

Examples of org.eclipse.ui.IEditorActionDelegate


    }
   
    @Override
    public void setActiveEditor(IEditorPart part) {
      if(action instanceof IEditorActionDelegate) {
        IEditorActionDelegate editorActionDelegate = (IEditorActionDelegate) action;
        editorActionDelegate.setActiveEditor(action, part);
      }
      super.setActiveEditor(part);
    }
View Full Code Here


    /* (non-Javadoc)
     * @see org.eclipse.ui.IActionDelegate#run(org.eclipse.jface.action.IAction)
     */
    public void run(IAction action) {
        IEditorActionDelegate participant = getParticipant();
        if (participant != null) {
            participant.run(action);
        }
    }
View Full Code Here

            participant.run(action);
        }
    }

    public void setActiveEditor(IAction action, IEditorPart targetEditor) {
        IEditorActionDelegate participant = getParticipant();
        if (participant != null) {
            participant.setActiveEditor(action, targetEditor);
        }
    }
View Full Code Here

        }
    }

    @Override
    public void selectionChanged(IAction action, ISelection selection) {
        IEditorActionDelegate participant = getParticipant();
        if (participant != null) {
            participant.selectionChanged(action, selection);
        }
    }
View Full Code Here

    }
   
    @Override
    public void setActiveEditor(IEditorPart part) {
      if(action instanceof IEditorActionDelegate) {
        IEditorActionDelegate editorActionDelegate = (IEditorActionDelegate) action;
        editorActionDelegate.setActiveEditor(action, part);
      }
      super.setActiveEditor(part);
    }
View Full Code Here

TOP

Related Classes of org.eclipse.ui.IEditorActionDelegate

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.