Package com.iizigo.vs
Class VSTableLabelProvider
java.lang.Object
org.eclipse.core.commands.common.EventManager
org.eclipse.jface.viewers.BaseLabelProvider
org.eclipse.jface.viewers.CellLabelProvider
org.eclipse.jface.viewers.OwnerDrawLabelProvider
org.eclipse.jface.viewers.StyledCellLabelProvider
com.iizigo.vs.VSTableLabelProvider
- All Implemented Interfaces:
EventListener
,org.eclipse.jface.viewers.IBaseLabelProvider
,org.eclipse.jface.viewers.IToolTipProvider
public class VSTableLabelProvider extends org.eclipse.jface.viewers.StyledCellLabelProvider implements EventListener
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
(org.eclipse.jface.viewers.TableViewer viewer) Assigns the viewer for updates.void
dispose()
Handles dispose.void
Called to process an event.void
update
(org.eclipse.jface.viewers.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
public void assignViewer(org.eclipse.jface.viewers.TableViewer viewer) Assigns the viewer for updates.dispose
public void dispose()Handles dispose.- Specified by:
dispose
in interfaceorg.eclipse.jface.viewers.IBaseLabelProvider
- Overrides:
dispose
in classorg.eclipse.jface.viewers.StyledCellLabelProvider
onEvent
Called to process an event.- Specified by:
onEvent
in interfaceEventListener
- Parameters:
event
- The event.
update
public void update(org.eclipse.jface.viewers.ViewerCell cell) Updates the cell contents.- Overrides:
update
in classorg.eclipse.jface.viewers.StyledCellLabelProvider