Example usage for Java org.eclipse.jface.viewers DecoratingLabelProvider fields, constructors, methods, implement or subclass
The text is from its open source code.
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. |
void | dispose() The DecoratingLabelProvider implementation of this IBaseLabelProvider method disposes both the nested label provider and the label decorator. |
Image | getImage(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. |
ILabelProvider | getLabelProvider() Returns the nested label provider. |
String | getText(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. |
void | setDecorationContext(IDecorationContext decorationContext) Set the decoration context that will be based to the decorator for this label provider if that decorator implements LabelDecorator . |
void | setLabelDecorator(ILabelDecorator decorator) Sets the label decorator. |