summaryrefslogtreecommitdiff
path: root/altosui/AltosGraphUI.java
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2017-05-12 00:01:14 -0700
committerKeith Packard <keithp@keithp.com>2017-05-19 21:41:40 -0700
commitbbe0c2e0a3216f40f49af34b756330ba28d7c7e1 (patch)
tree96e903b50e3c6eaba03d89ad8b89b43e03143c01 /altosui/AltosGraphUI.java
parent96de483d745ea0ef95326de2847a2534f7057846 (diff)
altosui: Hacks to plug into the new graph stuff
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altosui/AltosGraphUI.java')
-rw-r--r--altosui/AltosGraphUI.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/altosui/AltosGraphUI.java b/altosui/AltosGraphUI.java
index 4ca2b77c..50a1948e 100644
--- a/altosui/AltosGraphUI.java
+++ b/altosui/AltosGraphUI.java
@@ -34,7 +34,7 @@ import org.jfree.ui.RefineryUtilities;
public class AltosGraphUI extends AltosUIFrame implements AltosFontListener, AltosUnitsListener
{
JTabbedPane pane;
- AltosGraph graph;
+ AltosGraphNew graph;
AltosUIEnable enable;
AltosUIMap map;
AltosState state;
@@ -69,7 +69,7 @@ public class AltosGraphUI extends AltosUIFrame implements AltosFontListener, Alt
enable.units_changed(imperial_units);
}
- AltosGraphUI(AltosStateIterable states, File file) throws InterruptedException, IOException {
+ AltosGraphUI(AltosStateIterable states, AltosRecordSet record_set, File file) throws InterruptedException, IOException {
super(file.getName());
state = null;
@@ -78,9 +78,9 @@ public class AltosGraphUI extends AltosUIFrame implements AltosFontListener, Alt
enable = new AltosUIEnable();
stats = new AltosFlightStats(states);
- graphDataSet = new AltosGraphDataSet(states);
+// graphDataSet = new AltosGraphDataSet(states);
- graph = new AltosGraph(enable, stats, graphDataSet);
+ graph = new AltosGraphNew(enable, stats, record_set);
statsTable = new AltosFlightStatsTable(stats);