diff options
author | Keith Packard <keithp@keithp.com> | 2013-04-02 16:48:05 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2013-04-02 16:48:05 -0700 |
commit | 907cc6c50755c0d19b93c15678d6f3022a6ee10b (patch) | |
tree | 9d87a83f571da05643fdfa7665348956f12827c0 /altosui/AltosAscent.java | |
parent | e747156d0ea4b62eea30a8f486ee105ee35dcaf5 (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.java | 4 |
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(); |