Package org.eclipse.help

Examples of org.eclipse.help.IIndexContribution


   */
  private void filterIndexContributions(List unfiltered) {
    Set indexesToFilter = getIgnoredIndexContributions();
    ListIterator iter = unfiltered.listIterator();
    while (iter.hasNext()) {
      IIndexContribution contribution = (IIndexContribution)iter.next();
      if (indexesToFilter.contains(contribution.getId())) {
        iter.remove();
      }
    }
  }
View Full Code Here


    List contributions = new ArrayList();
    IndexFile[] indexFiles = getIndexFiles(locale);
    IndexFileParser parser = new IndexFileParser();
    for (int i=0;i<indexFiles.length;++i) {
      try {
        IIndexContribution toc = parser.parse(indexFiles[i]);
        contributions.add(toc);
      }
      catch (Throwable t) {
        String msg = "Error reading help keyword index file /\"" + indexFiles[i].getPluginId() + '/' + indexFiles[i].getFile() + "\" (skipping file)"; //$NON-NLS-1$ //$NON-NLS-2$
        HelpPlugin.logError(msg, t);
View Full Code Here

TOP

Related Classes of org.eclipse.help.IIndexContribution

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.