X-Git-Url: http://gitweb.fperrin.net/?p=GpsPrune.git;a=blobdiff_plain;f=tim%2Fprune%2Fgui%2FMapChart.java;h=a5e7819ba209ab14e6b565fc31e49cca1523e091;hp=a22cb1811b9bc513c135173011db478e24ea2ef8;hb=63f178fd6c6b30b99a01f2a2d700963ea2dfef8b;hpb=da0b1f449260a0b4a94318006382a9039726ef3e diff --git a/tim/prune/gui/MapChart.java b/tim/prune/gui/MapChart.java index a22cb18..a5e7819 100644 --- a/tim/prune/gui/MapChart.java +++ b/tim/prune/gui/MapChart.java @@ -23,6 +23,7 @@ import tim.prune.DataSubscriber; import tim.prune.I18nManager; import tim.prune.data.DataPoint; import tim.prune.data.TrackInfo; +//import tim.prune.gui.map.MapWindow; /** @@ -392,6 +393,16 @@ public class MapChart extends GenericChart implements MouseWheelListener, KeyLis _autoPanMenuItem = new JCheckBoxMenuItem(I18nManager.getText("menu.map.autopan")); _autoPanMenuItem.setSelected(true); _popup.add(_autoPanMenuItem); +/* + JMenuItem mapItem = new JMenuItem("Show map"); + mapItem.addActionListener(new ActionListener() { + public void actionPerformed(ActionEvent e) + { + showMap(); + } + }); + _popup.add(mapItem); +*/ } @@ -631,4 +642,15 @@ public class MapChart extends GenericChart implements MouseWheelListener, KeyLis { // ignore } + + /** + * Show a map window - probably only temporarily here until it gets fixed + */ +/* + private void showMap() + { + MapWindow map = new MapWindow(_track); + map.show(); + } +*/ }