Ignore:
Timestamp:
2009-12-12T18:32:35+01:00 (15 years ago)
Author:
guggis
Message:

'Update to JOSM 2621'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/routes/src/org/openstreetmap/josm/plugins/routes/RoutesPlugin.java

    r16593 r19064  
    1515
    1616import org.openstreetmap.josm.Main;
     17import org.openstreetmap.josm.gui.MapView;
     18import org.openstreetmap.josm.gui.MapView.LayerChangeListener;
    1719import org.openstreetmap.josm.gui.layer.Layer;
    1820import org.openstreetmap.josm.gui.layer.OsmDataLayer;
    19 import org.openstreetmap.josm.gui.layer.Layer.LayerChangeListener;
     21
    2022import org.openstreetmap.josm.plugins.Plugin;
    2123import org.openstreetmap.josm.plugins.routes.xml.Routes;
     
    2830   
    2931    public RoutesPlugin() {
    30         Layer.listeners.add(this);
    31        
     32        MapView.addLayerChangeListener(this);
    3233       
    3334        File routesFile = new File(getPluginDir() + File.separator + "routes.xml");
Note: See TracChangeset for help on using the changeset viewer.