public class ObservableMapCellLabelProvider extends CellLabelProvider
update(ViewerCell)
.Modifier and Type | Field and Description |
---|---|
protected IObservableMap[] |
attributeMaps
Observable maps typically mapping from viewer elements to label values.
|
Modifier | Constructor and Description |
---|---|
|
ObservableMapCellLabelProvider(IObservableMap attributeMap)
Creates a new label provider that tracks changes to one attribute.
|
protected |
ObservableMapCellLabelProvider(IObservableMap[] attributeMaps)
Creates a new label provider that tracks changes to more than one
attribute.
|
Modifier and Type | Method and Description |
---|---|
void |
dispose()
The
BaseLabelProvider implementation of this
IBaseLabelProvider method clears its internal listener list. |
void |
update(ViewerCell cell)
Update the label for cell.
|
dispose, getToolTipBackgroundColor, getToolTipDisplayDelayTime, getToolTipFont, getToolTipForegroundColor, getToolTipImage, getToolTipShift, getToolTipStyle, getToolTipText, getToolTipTimeDisplayed, initialize, useNativeToolTip
addListener, fireLabelProviderChanged, isLabelProperty, removeListener
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject
protected IObservableMap[] attributeMaps
public ObservableMapCellLabelProvider(IObservableMap attributeMap)
attributeMap
- protected ObservableMapCellLabelProvider(IObservableMap[] attributeMaps)
update(ViewerCell)
and make use of more than one attribute.attributeMaps
- public void dispose()
BaseLabelProvider
BaseLabelProvider
implementation of this
IBaseLabelProvider
method clears its internal listener list.
Subclasses may extend but should call the super implementation.dispose
in interface IBaseLabelProvider
dispose
in class BaseLabelProvider
public void update(ViewerCell cell)
CellLabelProvider
update
in class CellLabelProvider
cell
- ViewerCell
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.