- Timestamp:
- 2013-06-01T12:08:15+02:00 (11 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/DialogsToggleAction.java
r5965 r5979 30 30 (Icon) null, /* no icon */ 31 31 tr("Toggle dialogs panel, maximize mapview"), 32 Shortcut.registerShortcut("menu:view:dialogspanel", tr("Toggle dialogs panel"),KeyEvent. CHAR_UNDEFINED, Shortcut.NONE),32 Shortcut.registerShortcut("menu:view:dialogspanel", tr("Toggle dialogs panel"),KeyEvent.VK_TAB, Shortcut.DIRECT), 33 33 true, "dialogspanel", /* register in toolbar */ 34 34 false -
trunk/src/org/openstreetmap/josm/actions/mapmode/DrawAction.java
r5965 r5979 128 128 129 129 snappingShortcut = Shortcut.registerShortcut("mapmode:drawanglesnapping", 130 tr("Mode: Draw Angle snapping"), KeyEvent. VK_TAB, Shortcut.DIRECT);130 tr("Mode: Draw Angle snapping"), KeyEvent.CHAR_UNDEFINED, Shortcut.NONE); 131 131 snapChangeAction = new SnapChangeAction(); 132 132 snapCheckboxMenuItem = addMenuItem(); -
trunk/src/org/openstreetmap/josm/gui/MapView.java
r5965 r5979 12 12 import java.awt.event.ComponentAdapter; 13 13 import java.awt.event.ComponentEvent; 14 import java.awt.event.KeyEvent; 14 15 import java.awt.event.MouseEvent; 15 16 import java.awt.event.MouseMotionListener; … … 55 56 import org.openstreetmap.josm.tools.AudioPlayer; 56 57 import org.openstreetmap.josm.tools.BugReportExceptionHandler; 58 import org.openstreetmap.josm.tools.Shortcut; 57 59 58 60 /** … … 267 269 } 268 270 }); 271 272 if (Shortcut.findShortcut(KeyEvent.VK_TAB, 0)!=null) 273 { 274 setFocusTraversalKeysEnabled(false); 275 } 269 276 } 270 277 -
trunk/src/org/openstreetmap/josm/gui/preferences/ToolbarPreferences.java
r5968 r5979 434 434 }); 435 435 436 JCheckBoxMenuItem doNotHide = new JCheckBoxMenuItem(new AbstractAction(tr(" Hide toolbar and menu")) {436 JCheckBoxMenuItem doNotHide = new JCheckBoxMenuItem(new AbstractAction(tr("Do not hide toolbar and menu")) { 437 437 @Override 438 438 public void actionPerformed(ActionEvent e) { -
trunk/src/org/openstreetmap/josm/tools/Shortcut.java
r5926 r5979 246 246 247 247 // check if something collides with an existing shortcut 248 p rivatestatic Shortcut findShortcut(int requestedKey, int modifier) {248 public static Shortcut findShortcut(int requestedKey, int modifier) { 249 249 if (modifier == getGroupModifier(NONE)) 250 250 return null;
Note:
See TracChangeset
for help on using the changeset viewer.