Eclipse Platform
Release 3.3

org.eclipse.help
Interface IUAElement

All Known Subinterfaces:
IAnchor, ICommandLink, IContentExtension, IInclude, IIndex, IIndexEntry, ILink, IToc, ITopic

public interface IUAElement

An element in a UA document, which may have conditional enablement (may be filtered based on certain conditions) and may have sub-elements, or children.

Since:
3.3

Method Summary
 IUAElement[] getChildren()
          Returns all sub-elements (children) of this element.
 boolean isEnabled(IEvaluationContext context)
          Returns whether or not this element should be enabled in the given context.
 

Method Detail

isEnabled

public boolean isEnabled(IEvaluationContext context)
Returns whether or not this element should be enabled in the given context. Elements may be hidden (filtered) if certain conditions are true.

Parameters:
context - the context in which the element appears
Returns:
whether or not the element is enabled in the given context

getChildren

public IUAElement[] getChildren()
Returns all sub-elements (children) of this element.

Returns:
the sub-elements of this element

Eclipse Platform
Release 3.3

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2000, 2007. All rights reserved.