Changeset 11861 in osm for applications
- Timestamp:
- 2008-11-10T09:13:31+01:00 (16 years ago)
- Location:
- applications/editors/josm/plugins/validator
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/validator/build.xml
r11517 r11861 42 42 <attribute name="Plugin-Description" value="A OSM data validator"/> 43 43 <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/> 44 <attribute name="Plugin-Mainversion" value="1065"/> 44 45 <attribute name="Plugin-Date" value="${version.entry.commit.date}"/> 45 46 <attribute name="Author" value="Francisco R. Santos"/> -
applications/editors/josm/plugins/validator/src/org/openstreetmap/josm/plugins/validator/ValidateAction.java
r11530 r11861 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.ShortCut; 16 17 17 18 /** … … 36 37 */ 37 38 public ValidateAction(OSMValidatorPlugin plugin) { 38 super(tr("Validation"), "validator", tr("Performs the data validation"), KeyEvent.VK_V, KeyEvent.CTRL_DOWN_MASK39 + KeyEvent.ALT_MASK, true);39 super(tr("Validation"), "validator", tr("Performs the data validation"), 40 ShortCut.registerShortCut("tools:validate", tr("Tool: {0}", tr("Validation")), KeyEvent.VK_V, ShortCut.GROUP_EDIT, ShortCut.SHIFT_DEFAULT), true); 40 41 this.plugin = plugin; 41 42 } -
applications/editors/josm/plugins/validator/src/org/openstreetmap/josm/plugins/validator/ValidatorDialog.java
r11530 r11861 36 36 import org.openstreetmap.josm.gui.dialogs.ToggleDialog; 37 37 import org.openstreetmap.josm.tools.ImageProvider; 38 import org.openstreetmap.josm.tools.ShortCut; 38 39 39 40 /** … … 70 71 */ 71 72 public ValidatorDialog(OSMValidatorPlugin plugin) { 72 super(tr("Validation errors"), "validator", tr("Open the validation window."), KeyEvent.VK_V, 150); 73 super(tr("Validation errors"), "validator", tr("Open the validation window."), 74 ShortCut.registerShortCut("subwindow:validator", tr("Toggle: {0}", tr("Validation errors")), 75 KeyEvent.VK_V, ShortCut.GROUP_LAYER, ShortCut.SHIFT_DEFAULT), 150); 73 76 74 77 this.plugin = plugin;
Note:
See TracChangeset
for help on using the changeset viewer.