Method Summary |
|
public void | add(Object parent, Object child) |
protected void | add(Object elem) |
public void | addCheckStateListener(ICheckStateListener listener) |
public void | applyFilters() Applies the viewer's filters to the current elements. |
protected Object[] | filter(Object[] elements) |
public Widget | findItem(Object elem) |
public boolean | getCaching() Returns true if the viewer is caching. |
public boolean | getChecked(Object element) |
public ISelection | getCheckedSelection() Returns the current checked selection. |
protected List | getSelectedFromWidget() |
public Tree | getTree() Returns the viewer's tree widget. |
public Widget | getWidget() |
protected void | hookWidget(Component widget) |
public void | insert(Object parent, Object child, int position) |
protected void | insert(Object elem, int index) |
protected void | onInputReceived(Object input) |
public void | refresh(Object elem) Refreshes this viewer starting with the given element. |
public void | remove(Object element) |
public void | removeCheckStateListener(ICheckStateListener listener) |
protected TreeItem | renderItem(TreeItem parent, Object elem, int position) |
public void | select(Object elem) Selects the elements. |
public void | setCaching(boolean caching) Sets whether the children should be cached after first being retrieved from
the content provider. |
public boolean | setChecked(Object element, boolean state) |
public void | setContentProvider(IContentProvider contentProvider) |
public void | setExpanded(Object element, boolean expanded) Sets the expanded state for the element. |
public void | setInput(Object input) |
public void | setInput(Object input, boolean force) |
public void | setSelection(ISelection selection, boolean reveal) |
public void | update() |
public void | update(Object elem) |