+ private void ConnectToDevice() {
+ AltosDevice device = AltosDeviceDialog.show(AltosUI.this,
+ AltosDevice.product_basestation);
+
+ if (device != null)
+ telemetry_window(device);
+ }
+
+ void ConfigureCallsign() {
+ String result;
+ result = JOptionPane.showInputDialog(AltosUI.this,
+ "Configure Callsign",
+ AltosPreferences.callsign());
+ if (result != null)
+ AltosPreferences.set_callsign(result);
+ }
+
+ void ConfigureTeleMetrum() {
+ new AltosConfig(AltosUI.this);
+ }
+
+ void FlashImage() {
+ new AltosFlashUI(AltosUI.this);
+ }
+
+ /*
+ * Replay a flight from telemetry data
+ */
+ private void Replay() {
+ AltosLogfileChooser chooser = new AltosLogfileChooser(
+ AltosUI.this);
+ AltosRecordIterable iterable = chooser.runDialog();
+ if (iterable != null) {
+ AltosFlightReader reader = new AltosReplayReader(iterable.iterator(),
+ chooser.filename());
+ new AltosFlightUI(voice, reader);
+ }
+ }
+
+ /* Connect to TeleMetrum, either directly or through
+ * a TeleDongle over the packet link
+ */
+ private void SaveFlightData() {
+ new AltosEepromDownload(AltosUI.this);
+ }
+
+ /* Load a flight log file and write out a CSV file containing
+ * all of the data in standard units
+ */
+
+ private void ExportData() {
+ new AltosCSVUI(AltosUI.this);
+ }
+
+ /* Load a flight log CSV file and display a pretty graph.
+ */
+
+ private void GraphData() {
+ new AltosGraphUI(AltosUI.this);
+ }
+
+ /* Create the AltosUI menus
+ */