Changeset 4874 in josm for trunk/src/org/openstreetmap/josm/actions/ValidateAction.java
- Timestamp:
- 2012-01-26T21:52:34+01:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/ValidateAction.java
r4076 r4874 34 34 */ 35 35 public class ValidateAction extends JosmAction { 36 36 37 37 /** Serializable ID */ 38 38 private static final long serialVersionUID = -2304521273582574603L; … … 46 46 public ValidateAction() { 47 47 super(tr("Validation"), "dialogs/validator", tr("Performs the data validation"), 48 Shortcut.registerShortcut("tools:validate", tr("Tool: {0}", tr("Validation")), KeyEvent.VK_V, Shortcut.GROUP_EDIT, Shortcut.SHIFT_DEFAULT), true); 48 Shortcut.registerShortcut("tools:validate", tr("Tool: {0}", tr("Validation")), KeyEvent.VK_V, Shortcut.GROUP_EDIT, Shortcut.SHIFT_DEFAULT), true); 49 49 } 50 50 … … 106 106 * 107 107 */ 108 class ValidationTask extends PleaseWaitRunnable { 108 static class ValidationTask extends PleaseWaitRunnable { 109 109 private Collection<Test> tests; 110 110 private Collection<OsmPrimitive> validatedPrimitives; … … 154 154 @Override 155 155 protected void realRun() throws SAXException, IOException, 156 OsmTransferException {156 OsmTransferException { 157 157 if (tests == null || tests.isEmpty()) 158 158 return;
Note:
See TracChangeset
for help on using the changeset viewer.
