Class MessageLine

All Implemented Interfaces:
Drawable

public class MessageLine extends CLabel
A message line displaying a status.
Since:
3.16
  • Constructor Details

    • MessageLine

      public MessageLine(Composite parent)
      Creates a new message line as a child of the given parent.
      Parameters:
      parent - a widget which will be the parent of the new instance (cannot be null)
    • MessageLine

      public MessageLine(Composite parent, int style)
      Creates a new message line as a child of the parent and with the given SWT stylebits.
      Parameters:
      parent - a widget which will be the parent of the new instance (cannot be null)
      style - the style of widget to construct
  • Method Details

    • setErrorStatus

      public void setErrorStatus(IStatus status)
      Sets the message and image to the given status.
      Parameters:
      status - IStatus or null. null will set the empty text and no image.