java.lang.Object
org.deidentifier.arx.gui.view.impl.utility.ViewStatistics<T>
Typparameter:
T -
Alle implementierten Schnittstellen:
IView
Bekannte direkte Unterklassen:
ViewStatisticsClassification, ViewStatisticsContingencyHeatmap, ViewStatisticsContingencyTable, ViewStatisticsDistributionHistogram, ViewStatisticsDistributionTable, ViewStatisticsEquivalenceClassTable, ViewStatisticsQuality, ViewStatisticsSummaryTable

public abstract class ViewStatistics<T extends AnalysisContextVisualization> extends Object implements IView
This is a base class for displaying utility data.
  • Felddetails

    • MINIMAL_WORKING_TIME

      public static final int MINIMAL_WORKING_TIME
      Our users are patient.
      Siehe auch:
  • Konstruktordetails

    • ViewStatistics

      public ViewStatistics(org.eclipse.swt.widgets.Composite parent, Controller controller, ModelEvent.ModelPart target, ModelEvent.ModelPart reset, boolean dependsOnAttribute)
      Creates a new instance.
      Parameter:
      parent -
      controller -
      target -
      reset -
      dependsOnAttribute -
  • Methodendetails

    • dispose

      public void dispose()
      Beschreibung aus Schnittstelle kopiert: IView
      Disposes the view.
      Angegeben von:
      dispose in Schnittstelle IView
    • getType

      public abstract LayoutUtility.ViewUtilityType getType()
      Returns the type
      Gibt zurück:
    • reset

      public void reset()
      Beschreibung aus Schnittstelle kopiert: IView
      Resets the view.
      Angegeben von:
      reset in Schnittstelle IView
    • triggerStop

      public void triggerStop()
      Stops all computations
    • triggerUpdate

      public void triggerUpdate()
      Triggers an update
    • update

      public void update(ModelEvent event)
      Beschreibung aus Schnittstelle kopiert: IView
      Updates the view.
      Angegeben von:
      update in Schnittstelle IView
      Parameter:
      event -
    • createControl

      protected abstract org.eclipse.swt.widgets.Control createControl(org.eclipse.swt.widgets.Composite parent)
      Implement this to create the widget.
      Parameter:
      parent -
      Gibt zurück:
    • createViewConfig

      protected abstract T createViewConfig(AnalysisContext context)
      Parameter:
      context -
      Gibt zurück:
    • doReset

      protected abstract void doReset()
      Implement this to reset.
    • doUpdate

      protected abstract void doUpdate(T context)
      Implement this to update.
      Parameter:
      context -
    • getController

      protected Controller getController()
      Returns the controller
      Gibt zurück:
    • getModel

      protected Model getModel()
      Returns the model
      Gibt zurück:
    • getParent

      protected org.eclipse.swt.widgets.Composite getParent()
      Returns the parent composite
    • getProgressProvider

      protected ComponentStatusLabelProgressProvider getProgressProvider()
      Overwrite this to return a progress provider
      Gibt zurück:
    • getTarget

      protected ModelEvent.ModelPart getTarget()
      Returns the target
      Gibt zurück:
    • isEnabled

      protected boolean isEnabled()
      Is this view enabled
      Gibt zurück:
    • isRunning

      protected abstract boolean isRunning()
      Is a job running
      Gibt zurück:
    • isEmpty

      protected boolean isEmpty()
      Returns whether the view displays an empty result
      Gibt zurück:
    • setStatusDone

      protected void setStatusDone()
      Status update.
    • setStatusEmpty

      protected void setStatusEmpty()
      Status empty.
    • setStatusWorking

      protected void setStatusWorking()
      Status working.