ParentType - the type of the parent content elementChildType - the type of the children content elementspublic abstract class CompositeContent<ParentType,ChildType extends BaseContent<?>> extends BaseContent<ParentType>
QueryExplorer's tree viewer with children elements.parent, text| Constructor and Description |
|---|
CompositeContent(ParentType parent) |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose()
Disposes of this content.
|
abstract org.eclipse.core.databinding.observable.list.IObservableList |
getChildren()
Returns the
IObservableList of child elements. |
abstract java.util.Iterator<ChildType> |
getChildrenIterator()
Returns an iterator on the child elements.
|
void |
updateHasChildren()
Call this method if the element is already present in the tree viewer, but it is not expanded yet and the
children list has changed.
|
getParent, getText, setTextpublic CompositeContent(ParentType parent)
public void dispose()
BaseContentdispose in class BaseContent<ParentType>public void updateHasChildren()
public abstract java.util.Iterator<ChildType> getChildrenIterator()
public abstract org.eclipse.core.databinding.observable.list.IObservableList getChildren()
IObservableList of child elements.