Changeset 12579 in osm for applications/editors/josm/plugins/utilsplugin/src/UtilsPlugin/SimplifyWayAction.java
- Timestamp:
- 2008-12-25T14:36:26+01:00 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/utilsplugin/src/UtilsPlugin/SimplifyWayAction.java
r12443 r12579 27 27 import org.openstreetmap.josm.data.osm.visitor.CollectBackReferencesVisitor; 28 28 import org.openstreetmap.josm.gui.layer.OsmDataLayer; 29 import org.openstreetmap.josm.tools.Shortcut; 29 30 30 31 public class SimplifyWayAction extends JosmAction { 31 32 public SimplifyWayAction() { 32 super(tr("Simplify Way"), "simplify", tr("Delete unnecessary nodes from a way."), KeyEvent.VK_Y,33 KeyEvent.CTRL_MASK | KeyEvent.SHIFT_MASK, true);33 super(tr("Simplify Way"), "simplify", tr("Delete unnecessary nodes from a way."), Shortcut.registerShortcut("tools:simplify", tr("Tool: {0}", tr("Simplify Way")), 34 KeyEvent.VK_Y, Shortcut.GROUP_EDIT, Shortcut.SHIFT_DEFAULT), true); 34 35 } 35 36
Note:
See TracChangeset
for help on using the changeset viewer.
