summaryrefslogtreecommitdiff
path: root/altosui/AltosUI.java
diff options
context:
space:
mode:
authorBdale Garbee <bdale@gag.com>2017-12-11 21:39:38 -0700
committerBdale Garbee <bdale@gag.com>2017-12-11 21:39:38 -0700
commit8e0b575ad1dfd5a49136d3fe945d27f6afda1178 (patch)
tree74657870764e6a3792bdd7e90acd725353c20904 /altosui/AltosUI.java
parent132b92a95bdebabf573a680301bfb1e93eaa6721 (diff)
parentfe38c22595b050435dbacd35f1baae064fb7de75 (diff)
Merge branch 'branch-1.8' into debian
Diffstat (limited to 'altosui/AltosUI.java')
-rw-r--r--altosui/AltosUI.java13
1 files changed, 11 insertions, 2 deletions
diff --git a/altosui/AltosUI.java b/altosui/AltosUI.java
index bc8eaa71..02e49a94 100644
--- a/altosui/AltosUI.java
+++ b/altosui/AltosUI.java
@@ -26,7 +26,7 @@ import java.util.concurrent.*;
import org.altusmetrum.altoslib_12.*;
import org.altusmetrum.altosuilib_12.*;
-public class AltosUI extends AltosUIFrame {
+public class AltosUI extends AltosUIFrame implements AltosEepromGrapher {
public AltosVoice voice = new AltosVoice();
public static boolean load_library(Frame frame) {
@@ -320,8 +320,17 @@ public class AltosUI extends AltosUIFrame {
/* Connect to TeleMetrum, either directly or through
* a TeleDongle over the packet link
*/
+
+ public void graph_flights(AltosEepromList flights) {
+ for (AltosEepromLog flight : flights) {
+ if (flight.graph_selected && flight.file != null) {
+ process_graph(flight.file);
+ }
+ }
+ }
+
private void SaveFlightData() {
- new AltosEepromManage(AltosUI.this, AltosLib.product_any);
+ new AltosEepromManage(this, this, AltosLib.product_any);
}
private static AltosFlightSeries make_series(AltosRecordSet set) {