elide reference to GPS since we don't have it
[fw/altos] / teststand / AltosGraphUI.java
index a62c79267cbffb0293be93021ceaf060ddc98bdc..7f1a4c2baeef777a5f8a2dee583d721ea43939c8 100644 (file)
@@ -36,10 +36,8 @@ public class AltosGraphUI extends AltosUIFrame implements AltosFontListener, Alt
        JTabbedPane             pane;
        TestStandGraph          graph;
        AltosUIEnable           enable;
-       AltosFlightStats        stats;
-       AltosFlightStatsTable   statsTable;
-       AltosGPS                gps;
-       boolean                 has_gps;
+       TestStats       stats;
+       TestStatsTable          statsTable;
 
        public void font_size_changed(int font_size) {
                if (statsTable != null)
@@ -56,7 +54,7 @@ public class AltosGraphUI extends AltosUIFrame implements AltosFontListener, Alt
        public void filter_changed(double speed_filter, double accel_filter) {
                flight_series.set_filter(speed_filter, accel_filter);
                graph.filter_changed();
-               stats = new AltosFlightStats(flight_series);
+               stats = new TestStats(flight_series);
                statsTable.filter_changed(stats);
        }
 
@@ -83,17 +81,15 @@ public class AltosGraphUI extends AltosUIFrame implements AltosFontListener, Alt
 
                flight_series.finish();
 
-               stats = new AltosFlightStats(flight_series);
+               stats = new TestStats(flight_series);
 
                graph = new TestStandGraph(enable, stats, flight_series);
 
-               statsTable = new AltosFlightStatsTable(stats);
+               statsTable = new TestStatsTable(stats);
 
-               pane.add("Flight Graph", graph.panel);
+               pane.add("Test Graph", graph.panel);
                pane.add("Configure Graph", enable);
-               pane.add("Flight Statistics", statsTable);
-
-               has_gps = false;
+               pane.add("Test Statistics", statsTable);
 
                setContentPane (pane);