|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ILabelProvider
Extends 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.
Method Summary | |
---|---|
Image |
getImage(java.lang.Object element)
Returns the image for the label of the given element. |
java.lang.String |
getText(java.lang.Object element)
Returns the text for the label of the given element. |
Methods inherited from interface org.eclipse.jface.viewers.IBaseLabelProvider |
---|
addListener, dispose, isLabelProperty, removeListener |
Method Detail |
---|
Image getImage(java.lang.Object element)
element
- the element for which to provide the label image
null
if there is no image for the given objectjava.lang.String getText(java.lang.Object element)
element
- the element for which to provide the label text
null
if there is no text label for the given object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |