Changeset 400 in josm
- Timestamp:
- 2007-10-17T18:05:40+02:00 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/mapmode/DrawAction.java
r394 r400 8 8 import java.awt.event.KeyEvent; 9 9 import java.awt.event.MouseEvent; 10 import javax.swing.KeyStroke; 11 import javax.swing.JComponent; 10 12 import java.util.ArrayList; 11 13 import java.util.Collection; … … 44 46 public DrawAction(MapFrame mapFrame) { 45 47 super(tr("Draw"), "node/autonode", tr("Draw nodes"), 46 KeyEvent.VK_N, mapFrame, getCursor()); 48 KeyEvent.VK_A, mapFrame, getCursor()); 49 50 // Add extra shortcut N 51 Main.contentPane.getInputMap(JComponent.WHEN_IN_FOCUSED_WINDOW).put( 52 KeyStroke.getKeyStroke(KeyEvent.VK_N, 0), tr("Draw")); 53 47 54 //putValue("help", "Action/AddNode/Autnode"); 48 55 }
Note:
See TracChangeset
for help on using the changeset viewer.