Changeset 1050 in josm for trunk/src/org/openstreetmap/josm/actions
- Timestamp:
- 2008-10-23T11:25:14+02:00 (16 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/actions
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/AboutAction.java
r1023 r1050 68 68 69 69 public AboutAction() { 70 super(tr("About"), "about", tr("Display the about screen."), ShortCut.registerShortCut("system:about", tr("About..."), KeyEvent.VK_F1, ShortCut.GROUP_DIRECT ), true);70 super(tr("About"), "about", tr("Display the about screen."), ShortCut.registerShortCut("system:about", tr("About..."), KeyEvent.VK_F1, ShortCut.GROUP_DIRECT, ShortCut.SHIFT), true); 71 71 } 72 72 -
trunk/src/org/openstreetmap/josm/actions/CreateCircleAction.java
r1023 r1050 36 36 public CreateCircleAction() { 37 37 super(tr("Create Circle"), "createcircle", tr("Create a circle from three selected nodes."), 38 ShortCut.registerShortCut("tools:createcircle", tr("Tool: Create circle"), KeyEvent.VK_O, ShortCut.GROUP_EDIT ), true);38 ShortCut.registerShortCut("tools:createcircle", tr("Tool: Create circle"), KeyEvent.VK_O, ShortCut.GROUP_EDIT, ShortCut.SHIFT), true); 39 39 } 40 40 -
trunk/src/org/openstreetmap/josm/actions/PasteTagsAction.java
r1023 r1050 27 27 super(tr("Paste Tags"), "pastetags", 28 28 tr("Apply tags of contents of paste buffer to all selected items."), 29 ShortCut.registerShortCut("system:pastestyle", tr("Edit: Paste tags"), KeyEvent.VK_V, ShortCut.GROUP_MENU ), true);29 ShortCut.registerShortCut("system:pastestyle", tr("Edit: Paste tags"), KeyEvent.VK_V, ShortCut.GROUP_MENU, ShortCut.SHIFT_CTRL), true); 30 30 DataSet.selListeners.add(this); 31 31 copyAction.addListener(this); -
trunk/src/org/openstreetmap/josm/actions/SaveAsAction.java
r1047 r1050 23 23 public SaveAsAction(Layer layer) { 24 24 super(tr("Save as ..."), "save_as", tr("Save the current data to a new file."), 25 ShortCut.registerShortCut("system:saveas", tr("File: Save as..."), KeyEvent.VK_S, ShortCut.GROUP_MENU ), layer);25 ShortCut.registerShortCut("system:saveas", tr("File: Save as..."), KeyEvent.VK_S, ShortCut.GROUP_MENU, ShortCut.SHIFT_CTRL), layer); 26 26 } 27 27 -
trunk/src/org/openstreetmap/josm/actions/UnselectAllAction.java
r1047 r1050 21 21 // Add extra shortcut C-S-a 22 22 Main.contentPane.getInputMap(JComponent.WHEN_IN_FOCUSED_WINDOW).put( 23 ShortCut.registerShortCut("edit:unselectall2", tr("Edit: Unselect all (2)"), KeyEvent.VK_A, ShortCut.GROUP_MENU).getKeyStroke(), 23 ShortCut.registerShortCut("edit:unselectall2", tr("Edit: Unselect all (2)"), 24 KeyEvent.VK_A, ShortCut.GROUP_MENU, ShortCut.SHIFT_CTRL).getKeyStroke(), 24 25 tr("Unselect All")); 25 26 -
trunk/src/org/openstreetmap/josm/actions/audio/AudioSlowerAction.java
r1023 r1050 11 11 public AudioSlowerAction() { 12 12 super(tr("Slower"), "audio-slower", tr("Slower Forward"), 13 ShortCut.registerShortCut("audio:slower", tr("Audio: Slower"), KeyEvent.VK_F 9, ShortCut.GROUP_DIRECT), true);13 ShortCut.registerShortCut("audio:slower", tr("Audio: Slower"), KeyEvent.VK_F4, ShortCut.GROUP_DIRECT), true); 14 14 } 15 15 }
Note:
See TracChangeset
for help on using the changeset viewer.