Changeset 34563 in osm for applications/editors/josm
- Timestamp:
- 2018-08-18T20:32:11+02:00 (6 years ago)
- Location:
- applications/editors/josm/plugins/tracer
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/tracer/build.xml
r33813 r34563 4 4 <property name="commit.message" value="Tracer plugin can load at runtime"/> 5 5 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 6 <property name="plugin.main.version" value="1 2643"/>6 <property name="plugin.main.version" value="14153"/> 7 7 <property name="plugin.canloadatruntime" value="true"/> 8 8 -
applications/editors/josm/plugins/tracer/src/org/openstreetmap/josm/plugins/tracer/TracerAction.java
r33813 r34563 19 19 import java.util.LinkedList; 20 20 21 import org.openstreetmap.josm.Main;22 21 import org.openstreetmap.josm.actions.mapmode.MapMode; 23 22 import org.openstreetmap.josm.command.AddCommand; 24 23 import org.openstreetmap.josm.command.Command; 25 24 import org.openstreetmap.josm.command.SequenceCommand; 25 import org.openstreetmap.josm.data.UndoRedoHandler; 26 26 import org.openstreetmap.josm.data.coor.LatLon; 27 27 import org.openstreetmap.josm.data.osm.DataSet; … … 140 140 141 141 if (!commands.isEmpty()) { 142 Main.main.undoRedo.add(new SequenceCommand(tr("Tracer building"), commands));142 UndoRedoHandler.getInstance().add(new SequenceCommand(tr("Tracer building"), commands)); 143 143 144 144 if (shift) { -
applications/editors/josm/plugins/tracer/src/org/openstreetmap/josm/plugins/tracer/TracerServer.java
r30737 r34563 11 11 import java.net.URL; 12 12 import java.util.ArrayList; 13 13 14 import org.openstreetmap.josm.data.coor.LatLon; 14 15
Note:
See TracChangeset
for help on using the changeset viewer.