|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.wst.jsdt.ui.OverrideIndicatorLabelDecorator
public class OverrideIndicatorLabelDecorator
LabelDecorator that decorates an method's image with override or implements overlays. The viewer using this decorator is responsible for updating the images on element changes.
This class may be instantiated; it is not intended to be subclassed.
Provisional API: This class/interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.
Constructor Summary | |
---|---|
OverrideIndicatorLabelDecorator()
Creates a decorator. |
|
OverrideIndicatorLabelDecorator(org.eclipse.wst.jsdt.internal.ui.viewsupport.ImageDescriptorRegistry registry)
Note: This constructor is for internal use only. |
Method Summary | |
---|---|
void |
addListener(ILabelProviderListener listener)
|
int |
computeAdornmentFlags(java.lang.Object element)
Note: This method is for internal use only. |
void |
decorate(java.lang.Object element,
IDecoration decoration)
|
Image |
decorateImage(Image image,
java.lang.Object element)
|
java.lang.String |
decorateText(java.lang.String text,
java.lang.Object element)
|
void |
dispose()
|
boolean |
isLabelProperty(java.lang.Object element,
java.lang.String property)
|
void |
removeListener(ILabelProviderListener listener)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OverrideIndicatorLabelDecorator()
public OverrideIndicatorLabelDecorator(org.eclipse.wst.jsdt.internal.ui.viewsupport.ImageDescriptorRegistry registry)
registry
- The registry to use.Method Detail |
---|
public java.lang.String decorateText(java.lang.String text, java.lang.Object element)
public Image decorateImage(Image image, java.lang.Object element)
public int computeAdornmentFlags(java.lang.Object element)
element
- The element to decorate
public void addListener(ILabelProviderListener listener)
public void dispose()
public boolean isLabelProperty(java.lang.Object element, java.lang.String property)
public void removeListener(ILabelProviderListener listener)
public void decorate(java.lang.Object element, IDecoration decoration)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |