Method Summary |
|
protected ImageDescriptor | decorateImage(ImageDescriptor input, Object element) Returns an image descriptor that is based on the given descriptor,
but decorated with additional information relating to the state
of the provided object.
Subclasses may reimplement this method to decorate an object's
image.
Parameters: input - The base image to decorate. Parameters: element - The element used to look up decorations. |
protected String | decorateText(String input, Object element) Returns a label that is based on the given label,
but decorated with additional information relating to the state
of the provided object.
Subclasses may implement this method to decorate an object's
label.
Parameters: input - The base text to decorate. Parameters: element - The element used to look up decorations. |
public void | dispose() |
final protected IWorkbenchAdapter | getAdapter(Object o) Returns the implementation of IWorkbenchAdapter for the given
object. |
final protected IWorkbenchAdapter2 | getAdapter2(Object o) Returns the implementation of IWorkbenchAdapter2 for the given
object. |
public Color | getBackground(Object element) |
public static ILabelProvider | getDecoratingWorkbenchLabelProvider() Returns a workbench label provider that is hooked up to the decorator
mechanism. |
public Font | getFont(Object element) |
public Color | getForeground(Object element) |
final public Image | getImage(Object element) |
final public String | getText(Object element) |