Class CheckboxTableViewerEx
- All Implemented Interfaces:
IViewerToolTip, ICheckable, IInputProvider, IInputSelectionProvider, IPostSelectionProvider, ISelectionProvider
Checkbox table viewer with tooltip support.
- Author:
- Christopher Mindus
Nested Class Summary
Nested classes/interfaces inherited from class StructuredViewer
StructuredViewer.ColorAndFontCollector, StructuredViewer.ColorAndFontCollectorWithProvidersField Summary
Fields inherited from class Viewer
WIDGET_DATA_KEYConstructor Summary
ConstructorsConstructorDescriptionCheckboxTableViewerEx(Table table, GProp<?>[] props) Creates the checkbox table viewer for a table, initialized with the content, label and tooltip provider for properties, then input set to the properties.Method Summary
Modifier and TypeMethodDescriptionGProp<?>[]Gets the checked properties from the CheckboxTableViewer.getViewerRow(Point point) Returns the viewer row at the given widget-relative coordinates.Object[]Sets the input with properties.Methods inherited from class CheckboxTableViewer
addCheckStateListener, createTable, doUpdateItem, getChecked, getCheckedElements, getGrayed, getGrayedElements, handleSelect, newCheckList, preservingSelection, removeCheckStateListener, setAllChecked, setAllGrayed, setChecked, setCheckedElements, setCheckStateProvider, setGrayed, setGrayedElementsMethods inherited from class TableViewer
createViewerEditor, doClear, doClearAll, doDeselectAll, doFindItem, doGetColumn, doGetColumnCount, doGetItem, doGetItemCount, doGetItems, doGetSelection, doGetSelectionIndices, doIndexOf, doRemove, doRemove, doRemoveAll, doResetItem, doSelect, doSetItemCount, doSetSelection, doSetSelection, doShowItem, doShowSelection, getControl, getItemAt, getTable, getViewerRowFromItem, internalCreateNewRowPart, refresh, refresh, remove, setSelectionMethods inherited from class AbstractTableViewer
add, add, assertContentProviderType, clear, contains, doFindInputItem, getColumnViewerOwner, getElementAt, getLabelProvider, getRawChildren, getSelectionFromWidget, handleDispose, hookControl, indexForElement, inputChanged, insert, internalRefresh, internalRefresh, remove, replace, reveal, setContentProvider, setItemCount, setSelectionToWidgetMethods inherited from class ColumnViewer
applyEditorValue, cancelEditing, checkBusy, disassociate, editElement, firePostSelectionChanged, getCell, getCellEditors, getCellModifier, getColumnProperties, getColumnViewerEditor, getItem, getLabelProvider, getSortedChildren, handleDoubleSelect, hookEditingSupport, isBusy, isCellEditorActive, isExpandableNode, refresh, refresh, setBusy, setCellEditors, setCellModifier, setColumnProperties, setColumnViewerEditor, setDisplayIncrementally, setLabelProvider, triggerEditorActivationEvent, unmapAllElements, update, updateSelectionMethods inherited from class StructuredViewer
addDoubleClickListener, addDragSupport, addDropSupport, addFilter, addOpenListener, addPostSelectionChangedListener, assertElementsNotNull, associate, buildLabel, equals, filter, findItem, findItems, fireDoubleClick, fireOpen, getColorAndFontCollector, getComparator, getComparer, getFilteredChildren, getFilters, getRoot, getSelection, getSorter, getStructuredSelection, handleInvalidSelection, handleLabelProviderChanged, handleOpen, handlePostSelect, hasFilters, internalUpdate, mapElement, needsRefilter, refresh, refresh, refreshItem, removeDoubleClickListener, removeFilter, removeOpenListener, removePostSelectionChangedListener, resetFilters, setComparator, setComparer, setFilters, setInput, setSelectionToWidget, setSorter, setUseHashlookup, testFindItem, testFindItems, unmapElement, unmapElement, update, updateItem, usingElementMapMethods inherited from class ContentViewer
getContentProvider, getInput, labelProviderChangedMethods inherited from class Viewer
addHelpListener, addSelectionChangedListener, fireHelpRequested, fireSelectionChanged, getData, handleHelpRequest, removeHelpListener, removeSelectionChangedListener, scrollDown, scrollUp, setData, setSelectionMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ISelectionProvider
addSelectionChangedListener, removeSelectionChangedListener, setSelection
Constructor Details
CheckboxTableViewerEx
Method Details
getViewerRow
Returns the viewer row at the given widget-relative coordinates. Overridden to make public. As it's for tooltip support this will work just fine.- Specified by:
getViewerRowin interfaceIViewerToolTip- Overrides:
getViewerRowin classColumnViewer- Parameters:
point- The widget-relative coordinates of the viewer row.- Returns:
- ViewerRow the row or
nullif no row is found at the given coordinates.
setInput
getCheckedProps
Gets the checked properties from the CheckboxTableViewer.