Example usage for Java org.eclipse.jface.viewers CheckboxTableViewer fields, constructors, methods, implement or subclass
The text is from its open source code.
CheckboxTableViewer(Composite parent) Creates a table viewer on a newly-created table control under the given parent. | |
CheckboxTableViewer(Table table) Creates a table viewer on the given table control. |
void | addCheckStateListener(ICheckStateListener listener) |
boolean | getChecked(Object element) |
Object[] | getCheckedElements() Returns a list of elements corresponding to checked table items in this viewer. |
boolean | getGrayed(Object element) Returns the grayed state of the given element. |
CheckboxTableViewer | newCheckList(Composite parent, int style) Creates a table viewer on a newly-created table control under the given parent. |
void | setAllChecked(boolean state) Sets to the given value the checked state for all elements in this viewer. |
boolean | setChecked(Object element, boolean state) |
void | setCheckedElements(Object[] elements) Sets which nodes are checked in this viewer. |
void | setCheckStateProvider(ICheckStateProvider checkStateProvider) Sets the ICheckStateProvider for this CheckboxTreeViewer . |
boolean | setGrayed(Object element, boolean state) Sets the grayed state for the given element in this viewer. |
void | setGrayedElements(Object... elements) Sets which nodes are grayed in this viewer. |