Package org.eclipse.ui.internal.cheatsheets.state

Examples of org.eclipse.ui.internal.cheatsheets.state.DefaultStateManager


      ReusableHelpPart helpPart = tray.getHelpPart();
      IHelpPartPage page = helpPart.createPage(CheatSheetHelpPart.ID, null, null);
      page.setVerticalSpacing(0);
      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 {
View Full Code Here


    if (view == null) {
      return;
    }
    try {
      url = new URL(selectUrlCombo.getText())
      view.getCheatSheetViewer().setInput(id, id, url, new DefaultStateManager(), true);
        opened = true;
      } catch (MalformedURLException e) {
        opened = false;
      }
      if (!opened) {    
View Full Code Here

  /* (non-Javadoc)
   * @see org.eclipse.ui.cheatsheets.ICheatSheetViewer#setInput(java.lang.String)
   */
  public void setInput(String id) {
    setInput(id, new DefaultStateManager());
  }
View Full Code Here

  /* (non-Javadoc)
   * @see org.eclipse.ui.cheatsheets.ICheatSheetViewer#setInput(java.lang.String, java.lang.String, java.net.URL)
   */
  public void setInput(String id, String name, URL url) {
    setInput(id, name, url, new DefaultStateManager(), false);
  }
View Full Code Here

TOP

Related Classes of org.eclipse.ui.internal.cheatsheets.state.DefaultStateManager

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.