public class PrototypeDecorator extends Object implements ILightweightLabelDecorator
ILaunchConfiguration prototypes.| Constructor and Description |
|---|
PrototypeDecorator() |
| Modifier and Type | Method and Description |
|---|---|
void |
addListener(ILabelProviderListener listener)
Adds a listener to this label provider.
|
void |
decorate(Object element,
IDecoration decoration)
Calculates decorations based on element.
|
void |
dispose()
Disposes of this label provider.
|
boolean |
isLabelProperty(Object element,
String property)
Returns whether the label would be affected
by a change to the given property of the given element.
|
void |
removeListener(ILabelProviderListener listener)
Removes a listener to this label provider.
|
public void addListener(ILabelProviderListener listener)
IBaseLabelProviderLabel provider listeners are informed about state changes that affect the rendering of the viewer that uses this label provider.
addListener in interface IBaseLabelProviderlistener - a label provider listenerpublic void dispose()
IBaseLabelProviderdispose in interface IBaseLabelProviderpublic boolean isLabelProperty(Object element, String property)
IBaseLabelProviderisLabelProperty in interface IBaseLabelProviderelement - the elementproperty - the propertytrue if the label would be affected,
and false if it would be unaffectedpublic void removeListener(ILabelProviderListener listener)
IBaseLabelProviderremoveListener in interface IBaseLabelProviderlistener - a label provider listenerpublic void decorate(Object element, IDecoration decoration)
ILightweightLabelDecoratordecorate in interface ILightweightLabelDecoratorelement - the element to decoratedecoration - the decoration to set
Copyright (c) 2000, 2018 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.