public static interface DelegatingStyledCellLabelProvider.IStyledLabelProvider extends IBaseLabelProvider
The DelegatingStyledCellLabelProvider.IStyledLabelProvider
can
optionally implement IColorProvider
and IFontProvider
to
provide foreground and background color and a default font.
Modifier and Type | Method and Description |
---|---|
Image |
getImage(Object element)
Returns the image for the label of the given element.
|
StyledString |
getStyledText(Object element)
Returns the styled text label for the given element
|
addListener, dispose, isLabelProperty, removeListener
StyledString getStyledText(Object element)
element
- the element to evaluate the styled string forImage getImage(Object element)
element
- the element for which to provide the label imagenull
if there is no image for the given object
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.