Package org.eclipse.help.internal
Class Topic
java.lang.Object
org.eclipse.help.internal.UAElement
org.eclipse.help.internal.Topic
- All Implemented Interfaces:
IHelpResource
,ITopic
,ITopic2
,IUAElement
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
Fields inherited from interface org.eclipse.help.IHelpResource
HREF, LABEL
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturn the criteria information of topic.getHref()
Returns the URL (as a string) associated with this help resource.getIcon()
Toc elements can have non standard icons which are declared using a tocIcon element in the org.eclipse.help.toc extension pointgetLabel()
Returns the label of this help resource.ITopic[]
Obtains the topics contained in this node.boolean
isSorted()
Allows child elements to be sorted alphabetically regardless of their actual order in the list of children.void
void
Methods inherited from class org.eclipse.help.internal.UAElement
appendChild, appendChildren, getAttribute, getChildren, getChildren, getElement, getElementName, getParentElement, insertBefore, isEnabled, removeChild, setAttribute
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.eclipse.help.IUAElement
getChildren, isEnabled
-
Field Details
-
NAME
- See Also:
-
ATTRIBUTE_HREF
- See Also:
-
ATTRIBUTE_LABEL
- See Also:
-
ATTRIBUTE_ICON
- See Also:
-
ATTRIBUTE_SORT
- See Also:
-
-
Constructor Details
-
Topic
public Topic() -
Topic
-
Topic
-
-
Method Details
-
getIcon
Description copied from interface:ITopic2
Toc elements can have non standard icons which are declared using a tocIcon element in the org.eclipse.help.toc extension point -
isSorted
public boolean isSorted()Description copied from interface:ITopic2
Allows child elements to be sorted alphabetically regardless of their actual order in the list of children. -
getHref
Description copied from interface:IHelpResource
Returns the URL (as a string) associated with this help resource.- Specified by:
getHref
in interfaceIHelpResource
- Returns:
- the URL (as a string) associated with the resource
Valid URL of a help resource is:
- a /pluginID/path/to/resource, where
- pluginID is the unique identifier of the plugin containing the help resource,
- path/to/document is the help resource path, relative to the plugin directory.
- string representation of URI to an external document. In this case, all special characters have to be enoded such that the URI is appropriate to be opened with a web browser. http://eclipse.org/documents/my%20file.html and jar:file:/c:/my%20sources/src.zip!/mypackage/MyClass.html are examples of valid URIs.
- a /pluginID/path/to/resource, where
-
getLabel
Description copied from interface:IHelpResource
Returns the label of this help resource.- Specified by:
getLabel
in interfaceIHelpResource
- Returns:
- the label
-
getSubtopics
Description copied from interface:ITopic
Obtains the topics contained in this node.- Specified by:
getSubtopics
in interfaceITopic
- Returns:
- Array of ITopic
-
getCriteria
Description copied from interface:ITopic2
Return the criteria information of topic.- Specified by:
getCriteria
in interfaceITopic2
- Returns:
- array of CriterionResource
-
setHref
-
setLabel
-