Package org.eclipse.help
Interface IContentExtension
- All Superinterfaces:
IUAElement
An extension of a document's content.
- Since:
- 3.3
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Extension type for a contribution at an anchor.static final int
Extension type for element replacement. -
Method Summary
Methods inherited from interface org.eclipse.help.IUAElement
getChildren, isEnabled
-
Field Details
-
CONTRIBUTION
static final int CONTRIBUTIONExtension type for a contribution at an anchor.- See Also:
-
REPLACEMENT
static final int REPLACEMENTExtension type for element replacement.- See Also:
-
-
Method Details
-
getContent
String getContent()Returns the extension's content path (what to contribute into the document). This is a bundle-relative path with an id, of the form "path/file.ext#elementId".- Returns:
- path to the extension's content
-
getPath
String getPath()Returns the extensions target path (what to extend).- Returns:
- path to the target element to extend
-
getType
int getType()Returns the type of extension this is. Must be one of the static constants defined by this interface.- Returns:
- the extension type
-