projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altosui: Remove ability to graph data in .csv files
[fw/altos]
/
ao-tools
/
altosui
/
AltosLogfileChooser.java
diff --git
a/ao-tools/altosui/AltosLogfileChooser.java
b/ao-tools/altosui/AltosLogfileChooser.java
index 36b51de65c993bece80378fb3d11b2d0bafb5f24..8b9d77d69cba6f70cd0d385b20ace70c03ca569e 100644
(file)
--- a/
ao-tools/altosui/AltosLogfileChooser.java
+++ b/
ao-tools/altosui/AltosLogfileChooser.java
@@
-27,11
+27,6
@@
import java.util.*;
import java.text.*;
import java.util.prefs.*;
import java.text.*;
import java.util.prefs.*;
-import altosui.AltosPreferences;
-import altosui.AltosReader;
-import altosui.AltosEepromReader;
-import altosui.AltosTelemetryReader;
-
public class AltosLogfileChooser extends JFileChooser {
JFrame frame;
String filename;
public class AltosLogfileChooser extends JFileChooser {
JFrame frame;
String filename;
@@
-45,7
+40,7
@@
public class AltosLogfileChooser extends JFileChooser {
return file;
}
return file;
}
- public AltosRe
ader
runDialog() {
+ public AltosRe
cordIterable
runDialog() {
int ret;
ret = showOpenDialog(frame);
int ret;
ret = showOpenDialog(frame);
@@
-59,9
+54,9
@@
public class AltosLogfileChooser extends JFileChooser {
in = new FileInputStream(file);
if (filename.endsWith("eeprom"))
in = new FileInputStream(file);
if (filename.endsWith("eeprom"))
- return new AltosEeprom
Reader
(in);
+ return new AltosEeprom
Iterable
(in);
else
else
- return new AltosTelemetry
Reader
(in);
+ return new AltosTelemetry
Iterable
(in);
} catch (FileNotFoundException fe) {
JOptionPane.showMessageDialog(frame,
filename,
} catch (FileNotFoundException fe) {
JOptionPane.showMessageDialog(frame,
filename,