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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidappendChild(UAElement uaElementToAppend) voidappendChildren(IUAElement[] children) getAttribute(String name) Returns all sub-elements (children) of this element.<T> T[]getChildren(Class<T> clazz) voidinsertBefore(UAElement newChild, UAElement refChild) booleanisEnabled(IEvaluationContext context) Returns whether or not this element should be enabled in the given context.voidremoveChild(UAElement elementToRemove) voidsetAttribute(String name, String value)
-
Field Details
-
children
-
-
Constructor Details
-
UAElement
-
UAElement
-
UAElement
-
-
Method Details
-
appendChild
-
appendChildren
-
getAttribute
-
getChildren
Description copied from interface:IUAElementReturns all sub-elements (children) of this element.- Specified by:
getChildrenin interfaceIUAElement- Returns:
- the sub-elements of this element
-
getChildren
-
getElementName
-
getParentElement
-
insertBefore
-
isEnabled
Description copied from interface:IUAElementReturns whether or not this element should be enabled in the given context. Elements may be hidden (filtered) if certain conditions are true.- Specified by:
isEnabledin 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
-