Help Data

Identifier:
org.eclipse.help.HELP_DATA
Since:
3.3
Description:

The help data XML file is used by products to control the order of books in the help table of contents, as well whether or not books or keyword index sets should be displayed at all. The file must be referenced in the product's plugin_customization.ini file using the org.eclipse.help/HELP_DATA property.

Configuration Markup:

<!ELEMENT extensions (tocOrder? , hidden?)>

The extension data for Help.



<!ELEMENT tocOrder (toc | category)*>

Specifies the order in which top-level table of contents entries (also called "books") or categories of books should appear in Help. If one of the items listed is not available, it is ignored. If there are items available that are not listed and not hidden, they will be displayed after the ones listed here.



<!ELEMENT toc EMPTY>

<!ATTLIST toc

id CDATA #REQUIRED>

A reference to a top-level table of contents (TOC) entry, also called a "book".



<!ELEMENT category EMPTY>

<!ATTLIST category

id CDATA #REQUIRED>

A reference to a category of top-level table of contents (TOC) entries (books). Categories are implicitly created when a table of contents contribution declares itself to be of that category, for example, by specifying a category attribute for the toc element in the org.eclipse.help.toc extension point.



<!ELEMENT hidden (toc | category | index)*>

Contains a set of help items that should be hidden from the user.



<!ELEMENT index EMPTY>

<!ATTLIST index

id CDATA #REQUIRED>

A reference to a contribution of help index keywords.



Examples:

The following example shows how to arrange the following books in the order shown:

As well as hide the following books/categories and related keyword indexes:

The markup would be the following:

<extensions>
   <tocOrder>
      <toc id="/com.xyz.doc.user/introToc.xml"/>

      <category id="user.content"/>
      <toc id="/com.xyz.doc.user/refToc.xml"/>
   </tocOrder>
   <hidden>
      <toc id="/org.abc.doc.isv/toc.xml"/>

      <category id="isv.reference"/>
      <index id="/org.abc.doc.isv/index.xml"/>
      <index id="/com.def.doc.isv/index.xml"/>
   </hidden>

</extensions>
Supplied Implementation:
This API is supported by any help implementation that is based on org.eclipse.help, including the default help implementation provided by Eclipse.

Copyright (c) 2006, 2011 IBM Corporation and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html