Uses of Interface
org.eclipse.jface.viewers.IDecorationContext
Package
Description
Provides a framework for viewers, which are model-based
content adapters for SWT widgets.
-
Uses of IDecorationContext in org.eclipse.jface.viewers
Modifier and TypeClassDescriptionclass
A concrete implementation of theIDecorationContext
interface, suitable for instantiating.Modifier and TypeFieldDescriptionstatic final IDecorationContext
DecorationContext.DEFAULT_CONTEXT
Constant that defines a default decoration context that has no context ids associated with it.Modifier and TypeMethodDescriptionDecoratingLabelProvider.getDecorationContext()
Return the decoration context associated with this label provider.DecoratingStyledCellLabelProvider.getDecorationContext()
Returns the decoration context associated with this label provider.IDecoration.getDecorationContext()
Return the decoration context in which this decoration will be applied.Modifier and TypeMethodDescriptionabstract Image
LabelDecorator.decorateImage
(Image image, Object element, IDecorationContext context) Returns an image that is based on the given image, but decorated with additional information relating to the state of the provided element taking into account the provided context.abstract String
LabelDecorator.decorateText
(String text, Object element, IDecorationContext context) 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 taking into account the provided context.abstract boolean
LabelDecorator.prepareDecoration
(Object element, String originalText, IDecorationContext context) Prepare the element for decoration.void
DecoratingLabelProvider.setDecorationContext
(IDecorationContext decorationContext) Set the decoration context that will be based to the decorator for this label provider if that decorator implementsLabelDecorator
.void
DecoratingStyledCellLabelProvider.setDecorationContext
(IDecorationContext decorationContext) Set the decoration context that will be based to the decorator for this label provider if that decorator implementsLabelDecorator
.ModifierConstructorDescriptionDecoratingStyledCellLabelProvider
(DelegatingStyledCellLabelProvider.IStyledLabelProvider labelProvider, ILabelDecorator decorator, IDecorationContext decorationContext) Creates aDecoratingStyledCellLabelProvider
that delegates the requests for styled labels and for images to aDelegatingStyledCellLabelProvider.IStyledLabelProvider
.