Changeset 17592 in osm
- Timestamp:
- 2009-09-12T15:19:19+02:00 (15 years ago)
- Location:
- applications/editors/josm/plugins/validator
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/validator/build.xml
r17585 r17592 26 26 <attribute name="Plugin-Description" value="An OSM data validator. It checks for problems in data, and provides fixes for the common ones. Spellcheck integrated for tag names."/> 27 27 <attribute name="Plugin-Link" value="http://wiki.openstreetmap.org/index.php/JOSM/Plugins/Validator"/> 28 <attribute name="Plugin-Mainversion" value="209 5"/>28 <attribute name="Plugin-Mainversion" value="2098"/> 29 29 <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/> 30 30 </manifest> -
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.