Changeset 17592 in osm for applications/editors/josm/plugins/validator/src/org
- Timestamp:
- 2009-09-12T15:19:19+02:00 (15 years ago)
- Location:
- applications/editors/josm/plugins/validator/src/org/openstreetmap/josm/plugins/validator
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/validator/src/org/openstreetmap/josm/plugins/validator/ValidatorDialog.java
r17585 r17592 491 491 new Runnable() { 492 492 public void run() { 493 Main.main.undoRedo.add(fixCommand); 493 Main.main.undoRedo.addNoRedraw(fixCommand); 494 494 } 495 495 } … … 502 502 SwingUtilities.invokeAndWait(new Runnable() { 503 503 public void run() { 504 Main.main.undoRedo.afterAdd(); 504 505 Main.map.repaint(); 505 506 tree.resetErrors(); -
applications/editors/josm/plugins/validator/src/org/openstreetmap/josm/plugins/validator/tests/DuplicateNode.java
r17585 r17592 109 109 Collection<OsmPrimitive> sel = new LinkedList<OsmPrimitive>(testError.getPrimitives()); 110 110 LinkedList<Node> nodes = new LinkedList<Node>(OsmPrimitive.getFilteredList(sel, Node.class)); 111 MergeNodesAction mergeAction = new MergeNodesAction(); 112 Node target = mergeAction.selectTargetNode(nodes); 111 Node target = MergeNodesAction.selectTargetNode(nodes); 113 112 if(checkAndConfirmOutlyingDeletes(nodes)) 114 return mergeAction.mergeNodes(Main.main.getEditLayer(),getBackreferenceDataSet(), nodes, target);113 return MergeNodesAction.mergeNodes(Main.main.getEditLayer(),getBackreferenceDataSet(), nodes, target); 115 114 116 115 return null;// undoRedo handling done in mergeNodes
Note:
See TracChangeset
for help on using the changeset viewer.