Package org.eclipse.wb.internal.core.editor.actions

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

Related Classes of org.eclipse.wb.internal.core.editor.actions.SwitchAction

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.