Changeset 6248 in josm for trunk/src/org/openstreetmap/josm/actions/SimplifyWayAction.java
- Timestamp:
- 2013-09-23T16:47:50+02:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/SimplifyWayAction.java
r6131 r6248 33 33 import org.openstreetmap.josm.tools.Shortcut; 34 34 35 /** 36 * Delete unnecessary nodes from a way 37 */ 35 38 public class SimplifyWayAction extends JosmAction { 39 40 /** 41 * Constructs a new {@code SimplifyWayAction}. 42 */ 36 43 public SimplifyWayAction() { 37 44 super(tr("Simplify Way"), "simplify", tr("Delete unnecessary nodes from a way."), Shortcut.registerShortcut("tools:simplify", tr("Tool: {0}", tr("Simplify Way")), … … 41 48 42 49 protected boolean confirmWayWithNodesOutsideBoundingBox(List<? extends OsmPrimitive> primitives) { 43 System.out.println(primitives);44 50 return DeleteCommand.checkAndConfirmOutlyingDelete(Main.map.mapView.getEditLayer(), primitives, null); 45 51 }
Note:
See TracChangeset
for help on using the changeset viewer.