Changeset 16735 in osm for applications/editors/josm
- Timestamp:
- 2009-07-30T13:49:38+02:00 (15 years ago)
- Location:
- applications/editors/josm/plugins
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/utilsplugin/src/UtilsPlugin/JoinAreasAction.java
r16734 r16735 224 224 // Delete the remaining inner ways 225 225 if(innerWays != null && innerWays.size() > 0) 226 cmds.add(DeleteCommand.delete( getEditLayer(), innerWays, true));226 cmds.add(DeleteCommand.delete(Main.map.mapView.getEditLayer(), innerWays, true)); 227 227 commitCommands(marktr("Delete Ways that are not part of an inner multipolygon")); 228 228 -
applications/editors/josm/plugins/validator/src/org/openstreetmap/josm/plugins/validator/tests/DuplicatedWayNodes.java
r13497 r16735 6 6 import java.util.Collections; 7 7 8 import org.openstreetmap.josm.Main; 8 9 import org.openstreetmap.josm.command.ChangeCommand; 9 10 import org.openstreetmap.josm.command.Command; … … 58 59 if (wnew.nodes.size() < 2) { 59 60 // Empty way, delete 60 return DeleteCommand.delete( Collections.singleton(w));61 return DeleteCommand.delete(Main.map.mapView.getEditLayer(), Collections.singleton(w)); 61 62 } else { 62 63 return new ChangeCommand(w, wnew); -
applications/editors/josm/plugins/validator/src/org/openstreetmap/josm/plugins/validator/tests/UntaggedNode.java
r16629 r16735 96 96 public Command fixError(TestError testError) 97 97 { 98 return DeleteCommand.delete( testError.getPrimitives());98 return DeleteCommand.delete(Main.map.mapView.getEditLayer(), testError.getPrimitives()); 99 99 } 100 100 -
applications/editors/josm/plugins/validator/src/org/openstreetmap/josm/plugins/validator/tests/UntaggedWay.java
r16629 r16735 152 152 public Command fixError(TestError testError) 153 153 { 154 return DeleteCommand.delete( testError.getPrimitives());154 return DeleteCommand.delete(Main.map.mapView.getEditLayer(), testError.getPrimitives()); 155 155 } 156 156 }
Note:
See TracChangeset
for help on using the changeset viewer.