summaryrefslogtreecommitdiff
path: root/telegps/TeleGPS.java
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2014-05-29 14:36:14 -0700
committerKeith Packard <keithp@keithp.com>2014-05-29 14:36:14 -0700
commitbf684a4c290573a3aa627fd8ddf6f6ebbe5fa057 (patch)
treea02bccd0d39daaa2cd5ac9bc87ebd4bc6393c552 /telegps/TeleGPS.java
parentf80075be4ebb9c5fe00c24b8c7638fad23267424 (diff)
telegps: Add graph display
Moved the altosui graph files to altosuilib and fixed things up. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'telegps/TeleGPS.java')
-rw-r--r--telegps/TeleGPS.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/telegps/TeleGPS.java b/telegps/TeleGPS.java
index bef0bbc6..5a707547 100644
--- a/telegps/TeleGPS.java
+++ b/telegps/TeleGPS.java
@@ -246,6 +246,16 @@ public class TeleGPS
}
void graph() {
+ AltosDataChooser chooser;
+ chooser = new AltosDataChooser(this);
+ AltosStateIterable states = chooser.runDialog();
+ if (states == null)
+ return;
+ try {
+ new TeleGPSGraphUI(states, chooser.file());
+ } catch (InterruptedException ie) {
+ } catch (IOException ie) {
+ }
}
void flash() {