|
Eclipse Platform Release 3.1 |
|||||||||||
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 there is no image for the given objectpublic String getText(Object element)
element
- the element for which to provide the label text
null
if there is no text label for the given object
|
Eclipse Platform Release 3.1 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2005. All rights reserved.