Package com.iizigo.vs
Class VSTableLabelProvider
- All Implemented Interfaces:
EventListener
,IBaseLabelProvider
,IToolTipProvider
Label provider for a VirtualSpace Table.
- Author:
- Christopher Mindus
Field Summary
Fields inherited from class org.eclipse.jface.viewers.StyledCellLabelProvider
COLORS_ON_SELECTION, NO_FOCUS
Constructor Summary
ConstructorDescriptionVSTableLabelProvider
(EditorVSTable table, ArrayList<IzFilter> filters) The VSTable being used for the table.Method Summary
Modifier and TypeMethodDescriptionvoid
assignViewer
(TableViewer viewer) Assigns the viewer for updates.void
dispose()
Handles dispose.void
Called to process an event.void
update
(ViewerCell cell) Updates the cell contents.Methods inherited from class org.eclipse.jface.viewers.StyledCellLabelProvider
erase, getColumn, getViewer, initialize, isOwnerDrawEnabled, measure, paint, prepareStyleRange, setOwnerDrawEnabled, styleDecoratedString
Methods inherited from class org.eclipse.jface.viewers.OwnerDrawLabelProvider
dispose, initialize, setOwnerDrawEnabled, setUpOwnerDraw
Methods inherited from class org.eclipse.jface.viewers.CellLabelProvider
getToolTipBackgroundColor, getToolTipDisplayDelayTime, getToolTipFont, getToolTipForegroundColor, getToolTipImage, getToolTipShift, getToolTipStyle, getToolTipText, getToolTipTimeDisplayed, useNativeToolTip
Methods inherited from class org.eclipse.jface.viewers.BaseLabelProvider
addListener, fireLabelProviderChanged, isLabelProperty, removeListener
Methods inherited from class org.eclipse.core.commands.common.EventManager
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject
Constructor Details
VSTableLabelProvider
The VSTable being used for the table.- Parameters:
table
- The table.filters
- The filters, or null for none.
Method Details
assignViewer
Assigns the viewer for updates.dispose
public void dispose()Handles dispose.- Specified by:
dispose
in interfaceIBaseLabelProvider
- Overrides:
dispose
in classStyledCellLabelProvider
onEvent
Called to process an event.- Specified by:
onEvent
in interfaceEventListener
- Parameters:
event
- The event.
update
Updates the cell contents.- Overrides:
update
in classStyledCellLabelProvider