Package org.eclipse.ui.internal.cheatsheets.registry

Examples of org.eclipse.ui.internal.cheatsheets.registry.CheatSheetCollectionElement


    String[] expandedCategoryPaths = settings
        .getArray(STORE_EXPANDED_CATEGORIES_ID);
    List categoriesToExpand = new ArrayList(expandedCategoryPaths.length);

    for (int i = 0; i < expandedCategoryPaths.length; i++) {
      CheatSheetCollectionElement category = cheatsheetCategories
          .findChildCollection(new Path(expandedCategoryPaths[i]));
      if (category != null) // ie.- it still exists
        categoriesToExpand.add(category);
    }
View Full Code Here


    String[] expandedCategoryPaths = settings
        .getArray(STORE_EXPANDED_CATEGORIES_ID);
    if (expandedCategoryPaths == null)
      return; // no stored values

    CheatSheetCollectionElement category = expandPreviouslyExpandedCategories();
    if (category != null)
      selectPreviouslySelectedCheatSheet(category);
  }
View Full Code Here

  /**
   * @see Action#run()
   */
  public void run() {
    CheatSheetCollectionElement cheatSheets = (CheatSheetCollectionElement)CheatSheetRegistryReader.getInstance().getCheatSheets();

    CheatSheetCategoryBasedSelectionDialog dialog = new CheatSheetCategoryBasedSelectionDialog(PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell(), cheatSheets);

    if(dialog.open() != Window.OK || !dialog.getStatus().isOK()) {
      notifyResult(false);
View Full Code Here

TOP

Related Classes of org.eclipse.ui.internal.cheatsheets.registry.CheatSheetCollectionElement

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.