Examples of SwitchAction


Examples of org.eclipse.wb.internal.core.editor.actions.SwitchAction

  private static IEditorPart openJavaDesignEditor(IFile javaFile) throws PartInitException {
    return IDE.openEditor(DesignerPlugin.getActivePage(), javaFile, IDesignerEditor.ID);
  }

  private static void switchToDesign(IEditorPart javaEditor) {
    SwitchAction switchAction = new SwitchAction();
    switchAction.setActiveEditor(null, javaEditor);
    switchAction.run();
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.