public class DeclarativeLabelProvider extends AbstractLabelProvider
Object image()
and Object text()
methods.Constructor and Description |
---|
DeclarativeLabelProvider() |
DeclarativeLabelProvider(org.eclipse.jface.viewers.ILabelProvider delegate) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.Object |
doGetImage(java.lang.Object element)
Expected to be overridden by clients.
|
protected java.lang.Object |
doGetText(java.lang.Object element)
Expected to be overridden by clients.
|
protected java.lang.Object |
handleImageError(java.lang.Object[] params,
java.lang.Throwable e) |
protected java.lang.Object |
handleTextError(java.lang.Object[] params,
java.lang.Throwable e) |
java.lang.Object |
image(java.lang.Object element) |
java.lang.Object |
image(java.lang.Void element) |
java.lang.Object |
text(java.lang.Object element) |
java.lang.Object |
text(java.lang.Void element) |
convertToImage, convertToImageDescriptor, convertToString, convertToStyledString, getDefaultImage, getDefaultStyledText, getDefaultText, getImage, getImageDescriptor, getStyledText, getText, setImageHelper
addListener, dispose, fireLabelProviderChanged, isLabelProperty, removeListener
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject
public DeclarativeLabelProvider()
public DeclarativeLabelProvider(org.eclipse.jface.viewers.ILabelProvider delegate)
protected java.lang.Object doGetText(java.lang.Object element)
AbstractLabelProvider
doGetText
in class AbstractLabelProvider
StyledString
or a a String
.protected java.lang.Object doGetImage(java.lang.Object element)
AbstractLabelProvider
doGetImage
in class AbstractLabelProvider
String
, an ImageDescriptor
or an Image
passed to
AbstractLabelProvider.convertToImage(Object)
to determine the actual Image
.public java.lang.Object image(java.lang.Object element)
public java.lang.Object text(java.lang.Object element)
public java.lang.Object image(java.lang.Void element)
public java.lang.Object text(java.lang.Void element)
protected java.lang.Object handleTextError(java.lang.Object[] params, java.lang.Throwable e)
protected java.lang.Object handleImageError(java.lang.Object[] params, java.lang.Throwable e)