public class ControlDecorationUpdater extends Object
| Constructor and Description |
|---|
ControlDecorationUpdater() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getDescriptionText(IStatus status)
Returns the description text to show in a ControlDecoration for the given
status.
|
protected Image |
getImage(IStatus status)
Returns an image to display in a ControlDecoration which is appropriate
for the given status.
|
protected void |
update(ControlDecoration decoration,
IStatus status)
Updates the visibility, image, and description text of the given
ControlDecoration to represent the given status.
|
protected void update(ControlDecoration decoration, IStatus status)
decoration - the ControlDecoration to updatestatus - the status to be displayed by the decorationprotected String getDescriptionText(IStatus status)
status - the status object.protected Image getImage(IStatus status)
status.getSeverity():
status - the status object.
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.