Changeset 33708 in osm for applications
- Timestamp:
- 2017-10-07T13:53:59+02:00 (7 years ago)
- Location:
- applications/editors/josm/plugins/reltoolbox/src/relcontext/relationfix
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/reltoolbox/src/relcontext/relationfix/AssociatedStreetFixer.java
r32398 r33708 17 17 import org.openstreetmap.josm.data.osm.RelationMember; 18 18 import org.openstreetmap.josm.data.osm.Way; 19 import org.openstreetmap.josm.gui.MainApplication; 19 20 20 21 public class AssociatedStreetFixer extends RelationFixer { … … 134 135 List<Command> commandList = new ArrayList<>(); 135 136 if (fixed) { 136 commandList.add(new ChangeCommand( source, rel));137 commandList.add(new ChangeCommand(MainApplication.getLayerManager().getEditDataSet(), source, rel)); 137 138 } 138 139 … … 150 151 newWay.put("name", commonName); 151 152 152 commandList.add(new ChangeCommand( oldWay, newWay));153 commandList.add(new ChangeCommand(MainApplication.getLayerManager().getEditDataSet(), oldWay, newWay)); 153 154 } 154 155 */ -
applications/editors/josm/plugins/reltoolbox/src/relcontext/relationfix/BoundaryFixer.java
r32395 r33708 10 10 import org.openstreetmap.josm.data.osm.Relation; 11 11 import org.openstreetmap.josm.data.osm.RelationMember; 12 import org.openstreetmap.josm.gui.MainApplication; 12 13 13 14 … … 65 66 r = rr; 66 67 } 67 return fixed ? new ChangeCommand( rel, r) : null;68 return fixed ? new ChangeCommand(MainApplication.getLayerManager().getEditDataSet(), rel, r) : null; 68 69 } 69 70 -
applications/editors/josm/plugins/reltoolbox/src/relcontext/relationfix/PublicTransportFixer.java
r32395 r33708 9 9 import org.openstreetmap.josm.data.osm.Relation; 10 10 import org.openstreetmap.josm.data.osm.RelationMember; 11 import org.openstreetmap.josm.gui.MainApplication; 11 12 12 13 import relcontext.actions.PublicTransportHelper; … … 63 64 r = rr; 64 65 } 65 return fixed ? new ChangeCommand( rel, r) : null;66 return fixed ? new ChangeCommand(MainApplication.getLayerManager().getEditDataSet(), rel, r) : null; 66 67 } 67 68
Note:
See TracChangeset
for help on using the changeset viewer.