|
Eclipse Platform Release 3.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ILabelDecorator
A label decorator decorates the label text and image for some element. The original label text and image are obtained by some other means, for example by a label provider.
ILabelProvider| Method Summary | |
|---|---|
Image |
decorateImage(Image image,
java.lang.Object element)
Returns an image that is based on the given image, but decorated with additional information relating to the state of the provided element. |
java.lang.String |
decorateText(java.lang.String text,
java.lang.Object element)
Returns a text label that is based on the given text label, but decorated with additional information relating to the state of the provided element. |
| Methods inherited from interface org.eclipse.jface.viewers.IBaseLabelProvider |
|---|
addListener, dispose, isLabelProperty, removeListener |
| Method Detail |
|---|
Image decorateImage(Image image,
java.lang.Object element)
image - the input image to decorate, or null if the element has no imageelement - the element whose image is being decorated
null if no decoration is to be appliedLabelProviderChangedEvent,
IBaseLabelProvider.addListener(org.eclipse.jface.viewers.ILabelProviderListener),
CompositeImageDescriptor
java.lang.String decorateText(java.lang.String text,
java.lang.Object element)
text - the input text label to decorateelement - the element whose image is being decorated
null if no decoration is to be appliedLabelProviderChangedEvent,
IBaseLabelProvider.addListener(org.eclipse.jface.viewers.ILabelProviderListener)
|
Eclipse Platform Release 3.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2010. All rights reserved.