Changeset 33611 in osm for applications/editors/josm/plugins/opendata
- Timestamp:
- 2017-09-16T00:43:59+02:00 (7 years ago)
- Location:
- applications/editors/josm/plugins/opendata
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/opendata/build.xml
r33595 r33611 1 1 <?xml version="1.0" encoding="utf-8"?> 2 2 <project name="opendata" default="dist" basedir="."> 3 <property name="plugin.main.version" value="1282 5"/>3 <property name="plugin.main.version" value="12828"/> 4 4 <property name="plugin.author" value="Don-vip"/> 5 5 <property name="plugin.class" value="org.openstreetmap.josm.plugins.opendata.OdPlugin"/> -
applications/editors/josm/plugins/opendata/src/org/openstreetmap/josm/plugins/opendata/core/datasets/DataSetUpdater.java
r33595 r33611 12 12 import org.openstreetmap.josm.Main; 13 13 import org.openstreetmap.josm.actions.SimplifyWayAction; 14 import org.openstreetmap.josm.actions.SplitWayAction;15 import org.openstreetmap.josm.actions.SplitWayAction.SplitWayResult;16 14 import org.openstreetmap.josm.command.SequenceCommand; 15 import org.openstreetmap.josm.command.SplitWayCommand; 17 16 import org.openstreetmap.josm.data.osm.DataSet; 18 17 import org.openstreetmap.josm.data.osm.Node; … … 61 60 atNodes.add(w.getNode((int) ((i / n) * w.getNodesCount()))); 62 61 } 63 SplitWay Result res = SplitWayAction.split(w, atNodes, Collections.emptyList());62 SplitWayCommand res = SplitWayCommand.split(w, atNodes, Collections.emptyList()); 64 63 if (res != null) { 65 res. getCommand().executeCommand();64 res.executeCommand(); 66 65 } 67 66 }
Note:
See TracChangeset
for help on using the changeset viewer.