Interface IErrorComponent

All Known Implementing Classes:
ErrorComponent

public interface IErrorComponent
This interface describes components to show errors.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    createComponent(org.eclipse.swt.widgets.Composite parent)
    Creates this control on the parent composite.
    void
    Hides a representation of the error if it's shown.
    boolean
    Checks if the error visible.
    void
    showError(String msg, String detail, Throwable exc)
    Shows a representation of the error on this component.
  • Method Details

    • createComponent

      void createComponent(org.eclipse.swt.widgets.Composite parent)
      Creates this control on the parent composite.
      Parameters:
      parent - parent control
    • showError

      void showError(String msg, String detail, Throwable exc)
      Shows a representation of the error on this component.
      Parameters:
      msg - a basic localizated error message
      detail - a detailed error information about error
      exc - a low-level exception, or null if not applicable
    • hide

      void hide()
      Hides a representation of the error if it's shown.
    • isErrorVisible

      boolean isErrorVisible()
      Checks if the error visible.
      Returns:
      true, if the error visible