Method Summary |
|
public void | addDecorator(DecoratorDefinition definition) |
public void | addExtension(IExtensionTracker tracker, IExtension addedExtension) |
public void | addListener(ILabelProviderListener listener) Add the listener to the list of listeners. |
public void | applyDecoratorsPreference() Get the currently enabled decorators in
preference store and set the state of the
current definitions accordingly. |
public void | clearCaches() Clear the caches in the manager. |
public Color | decorateBackground(Object element) |
public Font | decorateFont(Object element) |
public Color | decorateForeground(Object element) |
public Image | decorateImage(Image image, Object element, IDecorationContext context) |
public Image | decorateImage(Image image, Object element) |
public String | decorateText(String text, Object element, IDecorationContext context) |
public String | decorateText(String text, Object element) |
public void | dispose() |
void | fireListener(LabelProviderChangedEvent event, ILabelProviderListener listener) Inform all of the listeners that require an update
Parameters: listener - The listener we are updating. |
void | fireListeners(LabelProviderChangedEvent event) |
void | fireListenersInUIThread(LabelProviderChangedEvent event) Fire any listeners from the UIThread. |
public DecoratorDefinition[] | getAllDecoratorDefinitions() Get the DecoratorDefinitions defined on the receiver. |
public IBaseLabelProvider | getBaseLabelProvider(String decoratorId) |
static Collection | getDecoratorsFor(Object element, DecoratorDefinition[] enabledDefinitions) See if the supplied decorator cache has a value for the
element. |
public boolean | getEnabled(String decoratorId) |
public ILabelDecorator | getLabelDecorator() |
public ILabelDecorator | getLabelDecorator(String decoratorId) |
public ILightweightLabelDecorator | getLightweightLabelDecorator(String decoratorId) |
public LightweightDecoratorManager | getLightweightManager() Returns the lightweightManager. |
ILabelProviderListener[] | getListeners() Get the list of elements listening to the receiver. |
public boolean | isLabelProperty(Object element, String property) Return whether or not the decorator registered for element
has a label property called property name. |
public boolean | isLabelProperty(Object element, String property, boolean checkAdapted) Return whether or not the decorator registered for element
has a label property called property name. |
public void | labelProviderChanged(LabelProviderChangedEvent event) |
public boolean | prepareDecoration(Object element, String originalText, IDecorationContext context) |
public boolean | prepareDecoration(Object element, String originalText) |
public void | removeExtension(IExtension source, Object[] objects) |
public void | removeListener(ILabelProviderListener listener) Remove the listener from the list. |
public void | setEnabled(String decoratorId, boolean enabled) |
public void | shutdown() Shutdown the decorator manager by disabling all
of the decorators so that dispose() will be called
on them. |
public void | update(String decoratorId) |
public void | updateForEnablementChange() Enablement had changed. |