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

'Update to JOSM 2621'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/routing/src/com/innovant/josm/plugin/routing/RoutingPlugin.java

    r18404 r19066  
    3838import org.openstreetmap.josm.gui.IconToggleButton;
    3939import org.openstreetmap.josm.gui.MapFrame;
     40import org.openstreetmap.josm.gui.MapView;
     41import org.openstreetmap.josm.gui.MapView.LayerChangeListener;
    4042import org.openstreetmap.josm.gui.layer.Layer;
    4143import org.openstreetmap.josm.gui.layer.OsmDataLayer;
    42 import org.openstreetmap.josm.gui.layer.Layer.LayerChangeListener;
    4344import org.openstreetmap.josm.gui.preferences.PreferenceSetting;
    4445import org.openstreetmap.josm.plugins.Plugin;
     
    139140        menu = new RoutingMenu();
    140141        // Register this class as LayerChangeListener
    141         Layer.listeners.add(this);
     142        MapView.addLayerChangeListener(this);
    142143        logger.debug("Finished loading plugin");
    143144    }
Note: See TracChangeset for help on using the changeset viewer.