public class OneTopicToc extends Object implements org.eclipse.help.IToc
IToc
Constructor and Description |
---|
OneTopicToc(org.eclipse.help.ITopic topic)
Create a TOC wrapping a topic.
|
Modifier and Type | Method and Description |
---|---|
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) |
public OneTopicToc(org.eclipse.help.ITopic topic)
topic
- the topicpublic boolean isEnabled(org.eclipse.core.expressions.IEvaluationContext context)
isEnabled
in interface org.eclipse.help.IUAElement
IUAElement.isEnabled(IEvaluationContext)
public org.eclipse.help.IUAElement[] getChildren()
getChildren
in interface org.eclipse.help.IUAElement
IUAElement.getChildren()
public String getHref()
getHref
in interface org.eclipse.help.IHelpResource
IHelpResource.getHref()
public String getLabel()
getLabel
in interface org.eclipse.help.IHelpResource
IHelpResource.getLabel()
public org.eclipse.help.ITopic[] getTopics()
getTopics
in interface org.eclipse.help.IToc
IToc.getTopics()
public org.eclipse.help.ITopic getTopic(String href)
getTopic
in interface org.eclipse.help.IToc
IToc.getTopic(String)
Build 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a