|
Eclipse JDT 2.1 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--org.eclipse.jdt.ui.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.
| Constructor Summary | |
OverrideIndicatorLabelDecorator()
Creates a decorator. |
|
OverrideIndicatorLabelDecorator(org.eclipse.jdt.internal.ui.viewsupport.ImageDescriptorRegistry registry)
Note: This constructor is for internal use only. |
|
| Method Summary | |
void |
addListener(ILabelProviderListener listener)
|
int |
computeAdornmentFlags(Object element)
Note: This method is for internal use only. |
void |
decorate(Object element,
IDecoration decoration)
|
Image |
decorateImage(Image image,
Object element)
|
String |
decorateText(String text,
Object element)
|
void |
dispose()
|
protected int |
findInHierarchy(IType type,
ITypeHierarchy hierarchy,
String name,
String[] paramTypes)
Note: This method is for internal use only. |
protected int |
getOverrideIndicators(IMethod method)
Note: This method is for internal use only. |
boolean |
isLabelProperty(Object element,
String property)
|
void |
removeListener(ILabelProviderListener listener)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public OverrideIndicatorLabelDecorator()
public OverrideIndicatorLabelDecorator(org.eclipse.jdt.internal.ui.viewsupport.ImageDescriptorRegistry registry)
| Method Detail |
public String decorateText(String text,
Object element)
decorateText in interface ILabelDecorator
public Image decorateImage(Image image,
Object element)
decorateImage in interface ILabelDecoratorpublic int computeAdornmentFlags(Object element)
protected int getOverrideIndicators(IMethod method)
throws JavaModelException
JavaModelException
protected int findInHierarchy(IType type,
ITypeHierarchy hierarchy,
String name,
String[] paramTypes)
throws JavaModelException
JavaModelExceptionpublic void addListener(ILabelProviderListener listener)
addListener in interface IBaseLabelProviderpublic void dispose()
dispose in interface IBaseLabelProvider
public boolean isLabelProperty(Object element,
String property)
isLabelProperty in interface IBaseLabelProviderpublic void removeListener(ILabelProviderListener listener)
removeListener in interface IBaseLabelProvider
public void decorate(Object element,
IDecoration decoration)
decorate in interface ILightweightLabelDecorator
|
Eclipse JDT 2.1 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||