Package org.eclipse.help.internal
Class UAElement
java.lang.Object
org.eclipse.help.internal.UAElement
- All Implemented Interfaces:
IUAElement
- Direct Known Subclasses:
Anchor
,CommandLink
,Include
,Topic
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
appendChild
(UAElement uaElementToAppend) void
appendChildren
(IUAElement[] children) getAttribute
(String name) Returns all sub-elements (children) of this element.<T> T[]
getChildren
(Class<T> clazz) void
insertBefore
(UAElement newChild, UAElement refChild) boolean
isEnabled
(IEvaluationContext context) Returns whether or not this element should be enabled in the given context.void
removeChild
(UAElement elementToRemove) void
setAttribute
(String name, String value)
-
Field Details
-
children
-
-
Constructor Details
-
UAElement
-
UAElement
-
UAElement
-
-
Method Details
-
appendChild
-
appendChildren
-
getAttribute
-
getChildren
Description copied from interface:IUAElement
Returns all sub-elements (children) of this element.- Specified by:
getChildren
in interfaceIUAElement
- Returns:
- the sub-elements of this element
-
getChildren
-
getElementName
-
getParentElement
-
insertBefore
-
isEnabled
Description copied from interface:IUAElement
Returns whether or not this element should be enabled in the given context. Elements may be hidden (filtered) if certain conditions are true.- Specified by:
isEnabled
in interfaceIUAElement
- Parameters:
context
- the context in which the element appears- Returns:
- whether or not the element is enabled in the given context
-
removeChild
-
setAttribute
-
getElement
-