Package org.eclipse.ui

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

Related Classes of org.eclipse.ui.IPerspectiveRegistry

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.