Package tool.editors.method

Examples of tool.editors.method.MethodEditorInput


  }

  @Override
  public void run(IAction action) {
    ISelection selection = this.selectionService.getSelection();
    MethodEditorInput input = (MethodEditorInput)this.currentEditorPart.getEditorInput();
    IProject project = input.getFile().getProject();
    ToolComponent cls = FindTypeDialog.show(project, selection);
    if (cls != null){
      OpenClassDelegate.showInEditor(cls);
    }
  }
View Full Code Here


  protected void showMethodEditor(ToolMethod method) throws PartInitException{
   
    //IEditorPart editor = IDE.openEditor(page, method, MethodEditor.EDITOR_ID);
   
   
    IEditorInput ip = new MethodEditorInput(method);
    IEditorPart editor = IDE.openEditor(page, ip, MethodEditor.EDITOR_ID);
   
   
//    IEditorInput ip = new MethodEditorInput(method);
//    IEditorPart editor = IDE.openEditor(page, ip, ToolEditor.EDITOR_ID);
View Full Code Here

TOP

Related Classes of tool.editors.method.MethodEditorInput

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.