Humboldt Alignment Editor 2.5.0

eu.esdihumboldt.hale.doc.util.toc
Class OneTopicToc

java.lang.Object
  extended by eu.esdihumboldt.hale.doc.util.toc.OneTopicToc
All Implemented Interfaces:
org.eclipse.help.IHelpResource, org.eclipse.help.IToc, org.eclipse.help.IUAElement

public class OneTopicToc
extends Object
implements org.eclipse.help.IToc

Wraps a topic in an IToc

Author:
Simon Templer

Field Summary
 
Fields inherited from interface org.eclipse.help.IToc
TOC, TOPIC
 
Fields inherited from interface org.eclipse.help.IHelpResource
HREF, LABEL
 
Constructor Summary
OneTopicToc(org.eclipse.help.ITopic topic)
          Create a TOC wrapping a topic.
 
Method Summary
 org.eclipse.help.IUAElement[] getChildren()
           
 String getHref()
           
 String getLabel()
           
 org.eclipse.help.ITopic getTopic(String href)
           
 org.eclipse.help.ITopic[] getTopics()
           
 boolean isEnabled(org.eclipse.core.expressions.IEvaluationContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OneTopicToc

public OneTopicToc(org.eclipse.help.ITopic topic)
Create a TOC wrapping a topic.

Parameters:
topic - the topic
Method Detail

isEnabled

public boolean isEnabled(org.eclipse.core.expressions.IEvaluationContext context)
Specified by:
isEnabled in interface org.eclipse.help.IUAElement
See Also:
IUAElement.isEnabled(IEvaluationContext)

getChildren

public org.eclipse.help.IUAElement[] getChildren()
Specified by:
getChildren in interface org.eclipse.help.IUAElement
See Also:
IUAElement.getChildren()

getHref

public String getHref()
Specified by:
getHref in interface org.eclipse.help.IHelpResource
See Also:
IHelpResource.getHref()

getLabel

public String getLabel()
Specified by:
getLabel in interface org.eclipse.help.IHelpResource
See Also:
IHelpResource.getLabel()

getTopics

public org.eclipse.help.ITopic[] getTopics()
Specified by:
getTopics in interface org.eclipse.help.IToc
See Also:
IToc.getTopics()

getTopic

public org.eclipse.help.ITopic getTopic(String href)
Specified by:
getTopic in interface org.eclipse.help.IToc
See Also:
IToc.getTopic(String)

Humboldt Alignment Editor 2.5.0

Build 2012-12-03_12-30-59
Revision 9d2dd4b0318cda9f1393b1ddd390f7f792d70a2d