Package | Description |
---|---|
org.eclipse.jface.viewers |
Provides a framework for viewers, which are model-based
content adapters for SWT widgets.
|
Modifier and Type | Class and Description |
---|---|
class |
DecorationContext
A concrete implementation of the
IDecorationContext interface,
suitable for instantiating. |
Modifier and Type | Field and Description |
---|---|
static IDecorationContext |
DecorationContext.DEFAULT_CONTEXT
Constant that defines a default decoration context that has
no context ids associated with it.
|
Modifier and Type | Method and Description |
---|---|
IDecorationContext |
DecoratingLabelProvider.getDecorationContext()
Return the decoration context associated with this label provider.
|
IDecorationContext |
IDecoration.getDecorationContext()
Return the decoration context in which this decoration
will be applied.
|
IDecorationContext |
DecoratingStyledCellLabelProvider.getDecorationContext()
Returns the decoration context associated with this label provider.
|
Modifier and Type | Method and Description |
---|---|
abstract 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 implements
LabelDecorator . |
void |
DecoratingStyledCellLabelProvider.setDecorationContext(IDecorationContext decorationContext)
Set the decoration context that will be based to the decorator for this
label provider if that decorator implements
LabelDecorator . |
Constructor and Description |
---|
DecoratingStyledCellLabelProvider(DelegatingStyledCellLabelProvider.IStyledLabelProvider labelProvider,
ILabelDecorator decorator,
IDecorationContext decorationContext)
Creates a
DecoratingStyledCellLabelProvider that delegates the
requests for styled labels and for images to a
DelegatingStyledCellLabelProvider.IStyledLabelProvider . |
Copyright (c) 2000, 2013 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.