Method Summary |
|
public void | addFilter(ViewerFilter filter) Adds a filter to the tree viewer. |
protected void | cancelPressed() Handles cancel button pressed event. |
protected void | computeResult() |
public void | create() |
protected Control | createDialogArea(Composite parent) |
protected Composite | createSelectionButtons(Composite composite) Adds the selection and deselection buttons to the dialog. |
protected CheckboxTreeViewer | createTreeViewer(Composite parent) Creates the tree viewer. |
protected CheckboxTreeViewer | getTreeViewer() Returns the tree viewer. |
public int | open() |
public void | setComparator(ViewerComparator comparator) Sets the comparator used by the tree viewer. |
public void | setContainerMode(boolean containerMode) If set, the checked /gray state of containers (inner nodes) is derived
from the checked state of its leaf nodes. |
public void | setEmptyListMessage(String message) Sets the message to be displayed if the list is empty. |
public void | setExpandedElements(Object[] elements) Expands elements in the tree. |
public void | setInitialSelection(Object selection) Sets the initial selection. |
public void | setInput(Object input) Sets the tree input. |
public void | setSize(int width, int height) Sets the size of the tree in unit of characters. |
public void | setSorter(ViewerSorter sorter) Sets the sorter used by the tree viewer. |
public void | setValidator(ISelectionStatusValidator validator) Sets an optional validator to check if the selection is valid. |
protected void | updateOKStatus() Validate the receiver and update the status with the result. |