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)
Updates the label of the cell with the value for the cell element.
|
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)
update
in class CellLabelProvider
cell
- The cell to be updated.
Copyright (c) 2000, 2018 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.