Changeset 34563 in osm for applications/editors/josm


Ignore:
Timestamp:
2018-08-18T20:32:11+02:00 (6 years ago)
Author:
donvip
Message:

update to JOSM 14153

Location:
applications/editors/josm/plugins/tracer
Files:
3 edited

Legend:

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

    r33813 r34563  
    44    <property name="commit.message" value="Tracer plugin can load at runtime"/>
    55    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    6     <property name="plugin.main.version" value="12643"/>
     6    <property name="plugin.main.version" value="14153"/>
    77    <property name="plugin.canloadatruntime" value="true"/>
    88
  • applications/editors/josm/plugins/tracer/src/org/openstreetmap/josm/plugins/tracer/TracerAction.java

    r33813 r34563  
    1919import java.util.LinkedList;
    2020
    21 import org.openstreetmap.josm.Main;
    2221import org.openstreetmap.josm.actions.mapmode.MapMode;
    2322import org.openstreetmap.josm.command.AddCommand;
    2423import org.openstreetmap.josm.command.Command;
    2524import org.openstreetmap.josm.command.SequenceCommand;
     25import org.openstreetmap.josm.data.UndoRedoHandler;
    2626import org.openstreetmap.josm.data.coor.LatLon;
    2727import org.openstreetmap.josm.data.osm.DataSet;
     
    140140
    141141            if (!commands.isEmpty()) {
    142                    Main.main.undoRedo.add(new SequenceCommand(tr("Tracer building"), commands));
     142                   UndoRedoHandler.getInstance().add(new SequenceCommand(tr("Tracer building"), commands));
    143143
    144144                if (shift) {
  • applications/editors/josm/plugins/tracer/src/org/openstreetmap/josm/plugins/tracer/TracerServer.java

    r30737 r34563  
    1111import java.net.URL;
    1212import java.util.ArrayList;
     13
    1314import org.openstreetmap.josm.data.coor.LatLon;
    1415
Note: See TracChangeset for help on using the changeset viewer.