Klasse ComponentStatus

java.lang.Object
org.deidentifier.arx.gui.view.impl.common.ComponentStatus

public class ComponentStatus extends Object
This class implements a wrapper around a control that displays the current status: (1) nothing to display, (2) working, (3) done (shows the control).
  • Konstruktordetails

    • ComponentStatus

      public ComponentStatus(Controller controller, org.eclipse.swt.widgets.Composite parent, org.eclipse.swt.widgets.Control child, ViewRisks<?> view, ComponentStatusLabelProgressProvider progressProvider)
      Creates a new instace
      Parameter:
      controller -
      parent -
      progressProvider -
      control -
      viewRisks -
    • ComponentStatus

      public ComponentStatus(Controller controller, org.eclipse.swt.widgets.Composite parent, org.eclipse.swt.widgets.Control child, ViewStatistics<?> view)
      Creates a new instance.
      Parameter:
      controller -
      parent -
      child -
    • ComponentStatus

      public ComponentStatus(Controller controller, org.eclipse.swt.widgets.Composite parent, org.eclipse.swt.widgets.Control child, ViewStatistics<?> view, ComponentStatusLabelProgressProvider progressProvider)
      Creates a new instance.
      Parameter:
      controller -
      parent -
      child -
      view -
      provider -
  • Methodendetails

    • isEmpty

      public boolean isEmpty()
      Returns whether the current status is "empty"
      Gibt zurück:
    • isStopped

      public boolean isStopped()
      Has the analysis been stopped by the user.
      Gibt zurück:
    • isVisible

      public boolean isVisible()
      Is the current status visible.
      Gibt zurück:
    • setDone

      public void setDone()
      Enables status 'done'. Shows the actual control.
    • setEmpty

      public void setEmpty()
      Enables status 'empty'.
    • setWorking

      public void setWorking()
      Enables status 'working'.