Changeset 11974 in osm for applications/editors/josm/plugins/validator/src
- Timestamp:
- 2008-11-18T20:04:58+01:00 (16 years ago)
- Location:
- applications/editors/josm/plugins/validator/src/org/openstreetmap/josm/plugins/validator
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/validator/src/org/openstreetmap/josm/plugins/validator/OSMValidatorPlugin.java
r10663 r11974 88 88 WronglyOrderedWays.class, // ID 1001 .. 1099 89 89 UnclosedWays.class, // ID 1101 .. 1199 90 TagChecker.class, // ID 1201 .. 129991 90 UnconnectedWays.class, // ID 1301 .. 1399 92 91 }; -
applications/editors/josm/plugins/validator/src/org/openstreetmap/josm/plugins/validator/ValidateAction.java
r11861 r11974 14 14 import org.openstreetmap.josm.data.osm.OsmPrimitive; 15 15 import org.openstreetmap.josm.plugins.validator.util.AgregatePrimitivesVisitor; 16 import org.openstreetmap.josm.tools.Short Cut;16 import org.openstreetmap.josm.tools.Shortcut; 17 17 18 18 /** … … 38 38 public ValidateAction(OSMValidatorPlugin plugin) { 39 39 super(tr("Validation"), "validator", tr("Performs the data validation"), 40 Short Cut.registerShortCut("tools:validate", tr("Tool: {0}", tr("Validation")), KeyEvent.VK_V, ShortCut.GROUP_EDIT, ShortCut.SHIFT_DEFAULT), true);40 Shortcut.registerShortcut("tools:validate", tr("Tool: {0}", tr("Validation")), KeyEvent.VK_V, Shortcut.GROUP_EDIT, Shortcut.SHIFT_DEFAULT), true); 41 41 this.plugin = plugin; 42 42 } -
applications/editors/josm/plugins/validator/src/org/openstreetmap/josm/plugins/validator/ValidatorDialog.java
r11861 r11974 36 36 import org.openstreetmap.josm.gui.dialogs.ToggleDialog; 37 37 import org.openstreetmap.josm.tools.ImageProvider; 38 import org.openstreetmap.josm.tools.Short Cut;38 import org.openstreetmap.josm.tools.Shortcut; 39 39 40 40 /** … … 72 72 public ValidatorDialog(OSMValidatorPlugin plugin) { 73 73 super(tr("Validation errors"), "validator", tr("Open the validation window."), 74 Short Cut.registerShortCut("subwindow:validator", tr("Toggle: {0}", tr("Validation errors")),75 KeyEvent.VK_V, Short Cut.GROUP_LAYER, ShortCut.SHIFT_DEFAULT), 150);74 Shortcut.registerShortcut("subwindow:validator", tr("Toggle: {0}", tr("Validation errors")), 75 KeyEvent.VK_V, Shortcut.GROUP_LAYER, Shortcut.SHIFT_DEFAULT), 150); 76 76 77 77 this.plugin = plugin;
Note:
See TracChangeset
for help on using the changeset viewer.