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
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from interface org.eclipse.help.IHelpResource
HREF, LABEL -
Constructor Summary
Constructors -
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.booleanisSorted()Allows child elements to be sorted alphabetically regardless of their actual order in the list of children.voidvoidMethods inherited from class org.eclipse.help.internal.UAElement
appendChild, appendChildren, getAttribute, getChildren, getChildren, getElement, getElementName, getParentElement, insertBefore, isEnabled, removeChild, setAttributeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:ITopic2Toc 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:ITopic2Allows child elements to be sorted alphabetically regardless of their actual order in the list of children. -
getHref
Description copied from interface:IHelpResourceReturns the URL (as a string) associated with this help resource.- Specified by:
getHrefin 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:IHelpResourceReturns the label of this help resource.- Specified by:
getLabelin interfaceIHelpResource- Returns:
- the label
-
getSubtopics
Description copied from interface:ITopicObtains the topics contained in this node.- Specified by:
getSubtopicsin interfaceITopic- Returns:
- Array of ITopic
-
getCriteria
Description copied from interface:ITopic2Return the criteria information of topic.- Specified by:
getCriteriain interfaceITopic2- Returns:
- array of CriterionResource
-
setHref
-
setLabel
-