Ignore:
Timestamp:
2017-08-24T22:53:50+02:00 (7 years ago)
Author:
Don-vip
Message:

see #15182 - deprecate Main.getLayerManager(). Replacement: gui.MainApplication.getLayerManager()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/osm/visitor/paint/relations/MultipolygonCache.java

    r11779 r12636  
    2828import org.openstreetmap.josm.data.projection.Projection;
    2929import org.openstreetmap.josm.data.projection.ProjectionChangeListener;
     30import org.openstreetmap.josm.gui.MainApplication;
    3031import org.openstreetmap.josm.gui.layer.LayerManager.LayerAddEvent;
    3132import org.openstreetmap.josm.gui.layer.LayerManager.LayerChangeListener;
     
    5152        Main.addProjectionChangeListener(this);
    5253        DataSet.addSelectionListener(this);
    53         Main.getLayerManager().addLayerChangeListener(this);
     54        MainApplication.getLayerManager().addLayerChangeListener(this);
    5455    }
    5556
Note: See TracChangeset for help on using the changeset viewer.