An interface to content providers for treetable-structure-oriented viewers.
Content providers for treetable viewers must implement either the
ITreeContentProvider interface or the
IAsyncTreeContentProvider interface.
This code is based on JFace API from the Eclipse Project.
Adds the given child element to this viewer as a child of the given parent
element.
Parameters: parent - the parent element Parameters: child - the child element
Inserts the given element as a new child element of the given parent
element at the given position.
Parameters: parent - the parent element Parameters: child - the child element Parameters: position - the insert position
insert
protected void insert(Object elem, int index)(Code)
Sets whether the children should be cached after first being retrieved from
the content provider. When false, the tree items will be
removed when collapsed.Default value is true.
Parameters: caching -
setChecked
public boolean setChecked(Object element, boolean state)(Code)