Changeset 23165 in osm for applications/editors/josm/plugins/alignways
- Timestamp:
- 2010-09-14T22:04:36+02:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/alignways/src/org/openstreetmap/josm/plugins/alignways/AlignWaysMode.java
r23082 r23165 10 10 import java.awt.event.ActionEvent; 11 11 import java.awt.event.InputEvent; 12 import java.awt.event.KeyEvent; 12 13 import java.awt.event.MouseEvent; 13 14 … … 18 19 import org.openstreetmap.josm.actions.mapmode.MapMode; 19 20 import org.openstreetmap.josm.gui.MapFrame; 21 import org.openstreetmap.josm.tools.Shortcut; 20 22 21 23 /** … … 36 38 37 39 public AlignWaysMode(MapFrame mapFrame, String name, String desc) { 38 super(name, "alignways.png", desc, mapFrame, Cursor 39 .getPredefinedCursor(Cursor.DEFAULT_CURSOR)); 40 40 super(tr(name), "alignways.png", tr(desc), 41 Shortcut.registerShortcut("mapmode:alignways", 42 tr("Mode: {0}", tr("Align Ways")), 43 KeyEvent.VK_N, Shortcut.GROUP_EDIT, Shortcut.SHIFT_DEFAULT), 44 mapFrame, Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR)); 41 45 noneSelected = new AlignWaysSelNoneState(); 42 46 referenceSelected = new AlignWaysSelRefState();
Note:
See TracChangeset
for help on using the changeset viewer.