From c893302e307b6471b8c3c7f57f46b6c92e7a55ef Mon Sep 17 00:00:00 2001 From: Ben Burwell Date: Sat, 19 Nov 2016 23:13:49 -0500 Subject: Refactor tabbing --- .../benburwell/planes/gui/aircraftmap/AircraftMapComponent.java | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/main/java/com/benburwell/planes/gui/aircraftmap/AircraftMapComponent.java') 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 navaids; private CSVObjectStore airportStore; @@ -112,4 +112,8 @@ public class AircraftMapComponent implements ViewComponent { return this.mapPanel; } + @Override + public String getName() { + return "Map"; + } } -- cgit v1.2.3