Class DistanceMetricViewer


  • public class DistanceMetricViewer
    extends Object
    A list which shows the all measurements from the selected visualization. It has two columns. One for the description and one for the metric of the given measurement.
    • Constructor Detail

      • DistanceMetricViewer

        public DistanceMetricViewer​(Composite composite)
        Initializes the table viewer with a given composite.
        Parameters:
        composite - The Composite, the DistanceMetricViewer should be displayed on.
    • Method Detail

      • getViewer

        public TableViewer getViewer()
        Returns the TableViewer represented by this class.
        Returns:
        Returns the created TableViewer object.
      • getLastSelectedInput

        public AbstractVisualizationSingleDatastreamInput getLastSelectedInput()
        Gives you the last selected input of this DistanceMetricViewer.
        Returns:
        Returns the last selected AbstractVisualizationSingleDatastreamInput or null, if no instantiation is possible.
      • getDataSource

        public Edp2DataTupleDataSource getDataSource()
        Helper method, that returns the Edp2DataTupleDataSource from the current selection of the DistanceMetricViewer. selection should be taken from.
        Returns:
        Returns the data source of the current selection of the passed DistanceMetricViewer. Returns null, if data source could not be retrieved e.g. due to instantiation issues.