Java org.eclipse.jface.viewers DecoratingLabelProvider fields, constructors, methods, implement or subclass

Example usage for Java org.eclipse.jface.viewers DecoratingLabelProvider fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.eclipse.jface.viewers DecoratingLabelProvider.

The text is from its open source code.

Subclass

org.eclipse.jface.viewers.DecoratingLabelProvider has subclasses.
Click this link to see all its subclasses.

Constructor

DecoratingLabelProvider(ILabelProvider provider, ILabelDecorator decorator)
Creates a decorating label provider which uses the given label decorator to decorate labels provided by the given label provider.

Method

voiddispose()
The DecoratingLabelProvider implementation of this IBaseLabelProvider method disposes both the nested label provider and the label decorator.
ImagegetImage(Object element)
The DecoratingLabelProvider implementation of this ILabelProvider method returns the image provided by the nested label provider's getImage method, decorated with the decoration provided by the label decorator's decorateImage method.
ILabelProvidergetLabelProvider()
Returns the nested label provider.
StringgetText(Object element)
The DecoratingLabelProvider implementation of this ILabelProvider method returns the text label provided by the nested label provider's getText method, decorated with the decoration provided by the label decorator's decorateText method.
voidsetDecorationContext(IDecorationContext decorationContext)
Set the decoration context that will be based to the decorator for this label provider if that decorator implements LabelDecorator .
voidsetLabelDecorator(ILabelDecorator decorator)
Sets the label decorator.