Fixed #55. Removed Plottable specialization.
This commit is contained in:
parent
83cfc86b7e
commit
237ad3b6c3
@ -22,7 +22,6 @@ import hep.dataforge.meta.MetaUtils;
|
||||
import hep.dataforge.plots.PlotUtils;
|
||||
import hep.dataforge.plots.data.TimePlottable;
|
||||
import hep.dataforge.plots.data.TimePlottableGroup;
|
||||
import hep.dataforge.plots.data.XYPlottable;
|
||||
import hep.dataforge.plots.fx.FXPlotFrame;
|
||||
import hep.dataforge.plots.fx.PlotContainer;
|
||||
import hep.dataforge.plots.jfreechart.JFreeChartFrame;
|
||||
@ -45,7 +44,7 @@ import java.util.ResourceBundle;
|
||||
public class PKT8PlotController implements Initializable, MeasurementListener<PKT8Result> {
|
||||
|
||||
private final PKT8Device device;
|
||||
private FXPlotFrame<XYPlottable> plotFrame;
|
||||
private FXPlotFrame plotFrame;
|
||||
private TimePlottableGroup plottables;
|
||||
|
||||
@FXML
|
||||
|
@ -5,7 +5,7 @@ if (!hasProperty('mainClass')) {
|
||||
}
|
||||
mainClassName = mainClass
|
||||
|
||||
version = "0.3.7 - SNAPSHOT"
|
||||
version = "0.3.7"
|
||||
|
||||
description = "The viewer for numass data"
|
||||
|
||||
|
@ -28,7 +28,10 @@ import hep.dataforge.io.ColumnedDataWriter;
|
||||
import hep.dataforge.meta.Meta;
|
||||
import hep.dataforge.meta.MetaBuilder;
|
||||
import hep.dataforge.plots.XYPlotFrame;
|
||||
import hep.dataforge.plots.data.*;
|
||||
import hep.dataforge.plots.data.PlotDataUtils;
|
||||
import hep.dataforge.plots.data.PlottableData;
|
||||
import hep.dataforge.plots.data.TimePlottable;
|
||||
import hep.dataforge.plots.data.TimePlottableGroup;
|
||||
import hep.dataforge.plots.fx.FXPlotFrame;
|
||||
import hep.dataforge.plots.fx.PlotContainer;
|
||||
import hep.dataforge.plots.jfreechart.JFreeChartFrame;
|
||||
@ -324,7 +327,7 @@ public class NumassLoaderViewComponent extends AnchorPane implements Initializab
|
||||
* update detector pane with new data
|
||||
*/
|
||||
private void updateDetectorPane(List<NMPoint> points, int binning, boolean normalize) {
|
||||
FXPlotFrame<XYPlottable> detectorPlotFrame;
|
||||
FXPlotFrame detectorPlotFrame;
|
||||
if (detectorPlot.getPlot() == null) {
|
||||
Meta frameMeta = new MetaBuilder("frame")
|
||||
.setValue("title", "Detector response plot")
|
||||
|
Loading…
Reference in New Issue
Block a user