public interface ILabelProvider extends IBaseLabelProvider
IBaseLabelProvider
with the methods
to provide the text and/or image for the label of a given element.
Used by most structured viewers, except table viewers.Modifier and Type | Method and Description |
---|---|
Image |
getImage(Object element)
Returns the image for the label of the given element.
|
String |
getText(Object element)
Returns the text for the label of the given element.
|
addListener, dispose, isLabelProperty, removeListener
Image 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, 2018 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.