Package org.eclipse.help.internal.index

Examples of org.eclipse.help.internal.index.IIndexTopic


      out.write("\n<ul class=\""); //$NON-NLS-1$
      out.write(expandedCollapsed);
      out.write("\">\n"); //$NON-NLS-1$
    }
    for (int i = 0; i < size; ++i) {
      IIndexTopic topic = (IIndexTopic)topics.get(i);

      out.write("<li>"); //$NON-NLS-1$
      if (usePlusMinus && advancedUI) {
        out.write("<img class=\"h\" src=\""); //$NON-NLS-1$
        out.write(imagesDirectory);
        out.write(plusMinusImage);
        out.write("\" alt=\"\">"); //$NON-NLS-1$
      }
      out.write("<a href=\""); //$NON-NLS-1$
      out.write(UrlUtil.getHelpURL(topic.getHref()));
      out.write("\"><img src=\""); //$NON-NLS-1$
      out.write(imagesDirectory);
      out.write("/topic.gif\" "); //$NON-NLS-1$
      if (!advancedUI) {
        out.write("border=0 "); //$NON-NLS-1$
      }
      out.write("alt=\"\">"); //$NON-NLS-1$
      out.write(UrlUtil.htmlEncode(topic.getLabel()));
      out.write("</a></li>\n"); //$NON-NLS-1$
    }
    if (advancedUI) {
      out.write("</ul>\n"); //$NON-NLS-1$
    }
View Full Code Here


    List topics = entry.getTopicList();
    if (topics != null) {
      Iterator iter = topics.iterator();
      while (iter.hasNext()) {
        IIndexTopic topic = (IIndexTopic)iter.next();
        if (isEnabled(topic)) {
          enabledTopics.add(topic);
        }
      }
    }
View Full Code Here

TOP

Related Classes of org.eclipse.help.internal.index.IIndexTopic

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.