T
- public abstract class ViewRisks<T extends AnalysisContextVisualization> extends java.lang.Object implements IView
Modifier and Type | Field and Description |
---|---|
static int |
MINIMAL_WORKING_TIME
Our users are patient.
|
Constructor and Description |
---|
ViewRisks(org.eclipse.swt.widgets.Composite parent,
Controller controller,
ModelEvent.ModelPart target,
ModelEvent.ModelPart reset)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Disposes the view.
|
boolean |
isEnabled()
Is this view enabled
|
void |
reset()
Resets the view.
|
void |
setEnabled(boolean enabled)
Enables or disables this view
|
void |
triggerStop()
Stops all computations
|
void |
triggerUpdate()
Triggers an update
|
void |
update(ModelEvent event)
Updates the view.
|
public static final int MINIMAL_WORKING_TIME
public ViewRisks(org.eclipse.swt.widgets.Composite parent, Controller controller, ModelEvent.ModelPart target, ModelEvent.ModelPart reset)
parent
- controller
- target
- reset
- public void dispose()
IView
public boolean isEnabled()
public void reset()
IView
public void setEnabled(boolean enabled)
enabled
- public void triggerStop()
public void triggerUpdate()
public void update(ModelEvent event)
IView