Changeset 19066 in osm for applications/editors/josm/plugins/routing/src
- Timestamp:
- 2009-12-12T18:36:50+01:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/routing/src/com/innovant/josm/plugin/routing/RoutingPlugin.java
r18404 r19066 38 38 import org.openstreetmap.josm.gui.IconToggleButton; 39 39 import org.openstreetmap.josm.gui.MapFrame; 40 import org.openstreetmap.josm.gui.MapView; 41 import org.openstreetmap.josm.gui.MapView.LayerChangeListener; 40 42 import org.openstreetmap.josm.gui.layer.Layer; 41 43 import org.openstreetmap.josm.gui.layer.OsmDataLayer; 42 import org.openstreetmap.josm.gui.layer.Layer.LayerChangeListener;43 44 import org.openstreetmap.josm.gui.preferences.PreferenceSetting; 44 45 import org.openstreetmap.josm.plugins.Plugin; … … 139 140 menu = new RoutingMenu(); 140 141 // Register this class as LayerChangeListener 141 Layer.listeners.add(this);142 MapView.addLayerChangeListener(this); 142 143 logger.debug("Finished loading plugin"); 143 144 }
Note:
See TracChangeset
for help on using the changeset viewer.