public class ControlDecorationUpdater extends Object
Constructor and Description |
---|
ControlDecorationUpdater() |
Modifier and Type | Method and Description |
---|---|
protected String |
getDescriptionText(org.eclipse.core.runtime.IStatus status)
Returns the description text to show in a ControlDecoration for the given
status.
|
protected org.eclipse.swt.graphics.Image |
getImage(org.eclipse.core.runtime.IStatus status)
Returns an image to display in a ControlDecoration which is appropriate
for the given status.
|
protected void |
update(org.eclipse.jface.fieldassist.ControlDecoration decoration,
org.eclipse.core.runtime.IStatus status)
Updates the visibility, image, and description text of the given
ControlDecoration to represent the given status.
|
protected void update(org.eclipse.jface.fieldassist.ControlDecoration decoration, org.eclipse.core.runtime.IStatus status)
decoration
- the ControlDecoration to updatestatus
- the status to be displayed by the decorationprotected String getDescriptionText(org.eclipse.core.runtime.IStatus status)
status
- the status object.protected org.eclipse.swt.graphics.Image getImage(org.eclipse.core.runtime.IStatus status)
status.getSeverity()
:
status
- the status object.Copyright © 2016 Eclipse Paho. All rights reserved.