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