Ignore:
Timestamp:
2016-06-19T16:08:56+02:00 (8 years ago)
Author:
donvip
Message:

fix #josm12953 - Replace most uses of MapView.getActiveLayer and similar methods (patch by michael2402, modified) - gsoc-core

Location:
applications/editors/josm/plugins/routes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/routes/build.xml

    r32310 r32329  
    22<project name="routes" default="dist" basedir=".">
    33    <property name="commit.message" value="Changed the constructor signature of the plugin main class"/>
    4     <property name="plugin.main.version" value="8811"/>
     4    <property name="plugin.main.version" value="10279"/>
    55    <property name="josm" location="../../core/dist/josm-custom.jar"/>
    66    <property name="plugin.dist.dir" value="../../dist"/>
  • applications/editors/josm/plugins/routes/src/org/openstreetmap/josm/plugins/routes/RoutesPlugin.java

    r30738 r32329  
    7979    private void checkLayers() {
    8080        if (Main.map != null && Main.map.mapView != null) {
    81             for (Layer layer:Main.map.mapView.getAllLayers()) {
     81            for (Layer layer:Main.getLayerManager().getLayers()) {
    8282                if (layer instanceof OsmDataLayer) {
    8383                    if (!isShown) {
Note: See TracChangeset for help on using the changeset viewer.