Klasse ComponentStatus
java.lang.Object
org.deidentifier.arx.gui.view.impl.common.ComponentStatus
This class implements a wrapper around a control that displays the current status:
(1) nothing to display, (2) working, (3) done (shows the control).
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungComponentStatus(Controller controller, org.eclipse.swt.widgets.Composite parent, org.eclipse.swt.widgets.Control child, ViewRisks<?> view, ComponentStatusLabelProgressProvider progressProvider) Creates a new instaceComponentStatus(Controller controller, org.eclipse.swt.widgets.Composite parent, org.eclipse.swt.widgets.Control child, ViewStatistics<?> view) Creates a new instance.ComponentStatus(Controller controller, org.eclipse.swt.widgets.Composite parent, org.eclipse.swt.widgets.Control child, ViewStatistics<?> view, ComponentStatusLabelProgressProvider progressProvider) Creates a new instance. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbooleanisEmpty()Returns whether the current status is "empty"booleanHas the analysis been stopped by the user.booleanIs the current status visible.voidsetDone()Enables status 'done'.voidsetEmpty()Enables status 'empty'.voidEnables status 'working'.
-
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'.
-