Ignore:
Timestamp:
2016-07-01T09:43:01+02:00 (8 years ago)
Author:
donvip
Message:

remove calls to deprecated methods

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

Legend:

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

    r32306 r32486  
    55    <property name="commit.message" value="Changed constructor signature of plugin main class"/>
    66    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    7     <property name="plugin.main.version" value="7001"/>
     7    <property name="plugin.main.version" value="10279"/>
    88
    99    <!-- Configure these properties (replace "..." accordingly).
  • applications/editors/josm/plugins/globalsat/src/org/openstreetmap/josm/plugins/globalsat/GlobalsatPlugin.java

    r31665 r32486  
    6767            }
    6868            if(data != null && data.hasTrackPoints()){
    69                 Main.main.addLayer(new GpxLayer(data, tr("imported data from {0}", "DG 100")));
     69                Main.getLayerManager().addLayer(new GpxLayer(data, tr("imported data from {0}", "DG 100")));
    7070                Main.map.repaint();
    7171            }else{
Note: See TracChangeset for help on using the changeset viewer.