Examples of IPerspectiveRegistry


Examples of org.eclipse.ui.IPerspectiveRegistry

   */
  private void switchToGoPerspective() {
    IWorkbenchWindow window = PlatformUI.getWorkbench()
        .getActiveWorkbenchWindow();

    IPerspectiveRegistry reg = WorkbenchPlugin.getDefault()
        .getPerspectiveRegistry();
    PerspectiveDescriptor rtPerspectiveDesc = (PerspectiveDescriptor) reg
        .findPerspectiveWithId(GoPerspective.ID);

    // Now set it as the active perspective.
    if (window != null) {
      IWorkbenchPage page = window.getActivePage();
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.