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);