9192939495969798
} private static void switchToDesign(IEditorPart javaEditor) { SwitchAction switchAction = new SwitchAction(); switchAction.setActiveEditor(null, javaEditor); switchAction.run(); } }