Changeset 19064 in osm for applications/editors/josm/plugins/routes/src/org
- Timestamp:
- 2009-12-12T18:32:35+01:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/routes/src/org/openstreetmap/josm/plugins/routes/RoutesPlugin.java
r16593 r19064 15 15 16 16 import org.openstreetmap.josm.Main; 17 import org.openstreetmap.josm.gui.MapView; 18 import org.openstreetmap.josm.gui.MapView.LayerChangeListener; 17 19 import org.openstreetmap.josm.gui.layer.Layer; 18 20 import org.openstreetmap.josm.gui.layer.OsmDataLayer; 19 import org.openstreetmap.josm.gui.layer.Layer.LayerChangeListener; 21 20 22 import org.openstreetmap.josm.plugins.Plugin; 21 23 import org.openstreetmap.josm.plugins.routes.xml.Routes; … … 28 30 29 31 public RoutesPlugin() { 30 Layer.listeners.add(this); 31 32 MapView.addLayerChangeListener(this); 32 33 33 34 File routesFile = new File(getPluginDir() + File.separator + "routes.xml");
Note:
See TracChangeset
for help on using the changeset viewer.