summaryrefslogtreecommitdiff
path: root/altosui/AltosAscent.java
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-04-02 16:48:05 -0700
committerKeith Packard <keithp@keithp.com>2013-04-02 16:48:05 -0700
commit907cc6c50755c0d19b93c15678d6f3022a6ee10b (patch)
tree9d87a83f571da05643fdfa7665348956f12827c0 /altosui/AltosAscent.java
parente747156d0ea4b62eea30a8f486ee105ee35dcaf5 (diff)
altosui: Hide flight-related tabs for telegps
Products without a flight state don't need ascent/descent/landed tabs. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altosui/AltosAscent.java')
-rw-r--r--altosui/AltosAscent.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/altosui/AltosAscent.java b/altosui/AltosAscent.java
index e90e0e23..80a5b759 100644
--- a/altosui/AltosAscent.java
+++ b/altosui/AltosAscent.java
@@ -398,6 +398,10 @@ public class AltosAscent extends JComponent implements AltosFlightDisplay {
add(max);
}
+ public String getName() {
+ return "Ascent";
+ }
+
public AltosAscent() {
layout = new GridBagLayout();