Package org.eclipse.help.ui.internal.views

Examples of org.eclipse.help.ui.internal.views.ReusableHelpPart.showPage()


      page.setHorizontalMargin(0);
      CheatSheetElement contentElement = CheatSheetRegistryReader.getInstance().findCheatSheet(id);
      helpPart.addPart(CheatSheetHelpPart.ID, new CheatSheetHelpPart(helpPart.getForm().getForm().getBody(), helpPart.getForm().getToolkit(), page.getToolBarManager(), contentElement, new DefaultStateManager()));
      page.addPart(CheatSheetHelpPart.ID, true);
      helpPart.addPage(page);
      helpPart.showPage(CheatSheetHelpPart.ID);
    }
    else {
      CheatSheetView view = ViewUtilities.showCheatSheetView();
      if (view == null) {
        return;
View Full Code Here


      stateManager = trayManager;
      saveCurrentSheet();      // Save the state into the tray manager
      helpPart.addPart(CheatSheetHelpPart.ID, new CheatSheetHelpPart(helpPart.getForm().getForm().getBody(), helpPart.getForm().getToolkit(), page.getToolBarManager(), contentElement, trayManager));
      page.addPart(CheatSheetHelpPart.ID, true);
      helpPart.addPage(page);
      helpPart.showPage(CheatSheetHelpPart.ID);
     
      /*
       * Disable the viewer until the tray is closed, then show it again.
       */
      control.setVisible(false);
 
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.