Package org.eclipse.help
Interface ITocContribution
public interface ITocContribution
Represents either a complete or partial table of contents, as well as
 its metadata.
- Since:
- 3.3
- 
Method SummaryModifier and TypeMethodDescriptionReturns the contribution's category id.Returns the symbolic name of the bundle that made this contribution, e.g.String[]Returns the hrefs for any additional documents that are not in this TOC but are associated with it, and should be indexed for searching.getId()Returns a unique identifier for this contribution.Returns the path to the anchor in another toc into which this one should be linked into.Returns the locale for this contribution.getToc()Returns the table of contents data for this contribution.booleanReturns whether or not this is a top-level contribution (a book).
- 
Method Details- 
getCategoryIdString getCategoryId()Returns the contribution's category id. Contributions with the same category id will be grouped together.- Returns:
- the contribution's category id.
 
- 
getContributorIdString getContributorId()Returns the symbolic name of the bundle that made this contribution, e.g. "org.eclipse.help"- Returns:
- the contributor id, e.g. "org.eclipse.help"
 
- 
getExtraDocumentsString[] getExtraDocuments()Returns the hrefs for any additional documents that are not in this TOC but are associated with it, and should be indexed for searching.- Returns:
- any extra documents associated with the TOC
 
- 
getIdString getId()Returns a unique identifier for this contribution.- Returns:
- the contribution's unique identifier
 
- 
getLocaleString getLocale()Returns the locale for this contribution.- Returns:
- the contribution's locale
 
- 
getLinkToString getLinkTo()Returns the path to the anchor in another toc into which this one should be linked into.- Returns:
- the link-to path
 
- 
getTocIToc getToc()Returns the table of contents data for this contribution.- Returns:
- the toc data for this contribution
 
- 
isPrimaryboolean isPrimary()Returns whether or not this is a top-level contribution (a book).- Returns:
- whether the contribution is top-level book
 
 
-