summaryrefslogtreecommitdiff
path: root/src/main/java/com/benburwell/planes/gui/aircraftmap/AircraftMapComponent.java
diff options
context:
space:
mode:
authorBen Burwell <ben.burwell@trifecta.com>2016-11-19 23:13:49 -0500
committerBen Burwell <ben.burwell@trifecta.com>2016-11-19 23:13:49 -0500
commitc893302e307b6471b8c3c7f57f46b6c92e7a55ef (patch)
treea18a86ed230a0a3cabbdb51c7cf418d8987de7f3 /src/main/java/com/benburwell/planes/gui/aircraftmap/AircraftMapComponent.java
parenta448320cc4661f9304a8323d6c0e05f1f0fee2b3 (diff)
Refactor tabbing
Diffstat (limited to 'src/main/java/com/benburwell/planes/gui/aircraftmap/AircraftMapComponent.java')
-rw-r--r--src/main/java/com/benburwell/planes/gui/aircraftmap/AircraftMapComponent.java8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/main/java/com/benburwell/planes/gui/aircraftmap/AircraftMapComponent.java b/src/main/java/com/benburwell/planes/gui/aircraftmap/AircraftMapComponent.java
index b4bb7e2..305df99 100644
--- a/src/main/java/com/benburwell/planes/gui/aircraftmap/AircraftMapComponent.java
+++ b/src/main/java/com/benburwell/planes/gui/aircraftmap/AircraftMapComponent.java
@@ -1,7 +1,7 @@
package com.benburwell.planes.gui.aircraftmap;
import com.benburwell.planes.data.*;
-import com.benburwell.planes.gui.ViewComponent;
+import com.benburwell.planes.gui.Tabbable;
import com.benburwell.planes.gui.aircraftmap.symbols.PlaneSymbol;
import javax.swing.*;
@@ -13,7 +13,7 @@ import java.util.ArrayList;
/**
* Created by ben on 11/18/16.
*/
-public class AircraftMapComponent implements ViewComponent {
+public class AircraftMapComponent implements Tabbable {
private AircraftStore store;
private CSVObjectStore<NavigationAid> navaids;
private CSVObjectStore<Airport> airportStore;
@@ -112,4 +112,8 @@ public class AircraftMapComponent implements ViewComponent {
return this.mapPanel;
}
+ @Override
+ public String getName() {
+ return "Map";
+ }
}