Uses of Interface
org.eclipse.jface.viewers.IDecorationContext
Packages that use 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
Classes in org.eclipse.jface.viewers that implement IDecorationContextModifier and TypeClassDescriptionclass
A concrete implementation of theIDecorationContext
interface, suitable for instantiating.Fields in org.eclipse.jface.viewers declared as IDecorationContextModifier and TypeFieldDescriptionstatic final IDecorationContext
DecorationContext.DEFAULT_CONTEXT
Constant that defines a default decoration context that has no context ids associated with it.Methods in org.eclipse.jface.viewers that return IDecorationContextModifier 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.Methods in org.eclipse.jface.viewers with parameters of type IDecorationContextModifier 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
.Constructors in org.eclipse.jface.viewers with parameters of type IDecorationContextModifierConstructorDescriptionDecoratingStyledCellLabelProvider
(DelegatingStyledCellLabelProvider.IStyledLabelProvider labelProvider, ILabelDecorator decorator, IDecorationContext decorationContext) Creates aDecoratingStyledCellLabelProvider
that delegates the requests for styled labels and for images to aDelegatingStyledCellLabelProvider.IStyledLabelProvider
.