Example usage for Java org.eclipse.jface.viewers IDecoration fields, constructors, methods, implement or subclass
The text is from its open source code.
int | TOP_LEFT Constants for placement of image decorations. |
int | TOP_RIGHT Constant for the top right quadrant. |
int | BOTTOM_LEFT Constant for the bottom left quadrant. |
int | BOTTOM_RIGHT Constant for the bottom right quadrant. |
int | UNDERLAY Constant for the underlay. |
int | REPLACE Constant for replacing the original image. |
String | ENABLE_REPLACE Constant that is used as the property key on an IDecorationContext . |
void | addOverlay(ImageDescriptor overlay, int quadrant) Adds an overlay to the element's image. |
void | addOverlay(ImageDescriptor overlay) Adds an overlay to the element's image. |
void | addPrefix(String prefix) Adds a prefix to the element's label. |
void | addSuffix(String suffix) Adds a suffix to the element's label. |
IDecorationContext | getDecorationContext() Return the decoration context in which this decoration will be applied. |
void | setBackgroundColor(Color color) Set the background color for this decoration. |
void | setFont(Font font) Set the font for this decoration. |
void | setForegroundColor(Color color) Set the foreground color for this decoration. |