- 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) {
+ AltosDataChooser chooser = new AltosDataChooser(this);
+ AltosRecordSet set = chooser.runDialog();
+ graph_file(this, set, chooser.file());
+ }
+
+ public void graph_flights(AltosEepromList list) {
+ for (AltosEepromLog log : list) {
+ if (log.file != null) {
+ AltosRecordSet set = record_set(log.file);
+ graph_file(this, set, log.file);
+ }