Method Summary |
|
protected void | cancelPressed() |
public void | create() |
protected Text | createFilterText(Composite parent) |
protected FilteredList | createFilteredList(Composite parent) Creates a filtered list.
Parameters: parent - the parent composite. |
protected Label | createMessageArea(Composite composite) Creates the message text widget and sets layout data. |
public String | getFilter() Returns the current filter pattern. |
public Object[] | getFoldedElements(int index) Returns all elements which are folded together to one entry in the list.
Parameters: index - the index selecting the entry in the list. |
protected Object[] | getSelectedElements() Returns an array of the currently selected elements. |
protected int | getSelectionIndex() Returns an index referring the first current selection. |
protected int[] | getSelectionIndices() Returns the indices referring the current selection. |
protected void | handleDefaultSelected() Handles default selection (double click). |
protected void | handleEmptyList() Handles empty list by disabling widgets. |
protected void | handleSelectionChanged() Handles a selection changed event. |
public boolean | isCaseIgnored() Returns if sorting, filtering and folding is case sensitive. |
public int | open() |
public void | setAllowDuplicates(boolean allowDuplicates) Specifies whether duplicate entries are displayed or not. |
public void | setEmptyListMessage(String message) Sets the message to be displayed if the list is empty. |
public void | setEmptySelectionMessage(String message) Sets the message to be displayed if the selection is empty. |
public void | setFilter(String filter) Sets the filter pattern. |
public void | setIgnoreCase(boolean ignoreCase) Specifies if sorting, filtering and folding is case sensitive. |
protected void | setListElements(Object[] elements) Sets the elements of the list (widget). |
public void | setMatchEmptyString(boolean matchEmptyString) Specifies whether everything or nothing should be filtered on
empty filter string. |
public void | setMultipleSelection(boolean multipleSelection) Specifies if multiple selection is allowed. |
protected void | setSelection(Object[] selection) Sets the selection referenced by an array of elements. |
public void | setSize(int width, int height) Sets the list size in unit of characters. |
public void | setValidator(ISelectionStatusValidator validator) Sets an optional validator to check if the selection is valid. |
protected void | updateOkState() Update the enablement of the OK button based on whether or not there
is a selection. |
protected boolean | validateCurrentSelection() Validates the current selection and updates the status line
accordingly. |