Changeset 16505 in josm for trunk/src/org
- Timestamp:
- 2020-05-27T08:31:01+02:00 (5 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/actions
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/AboutAction.java
r14866 r16505 64 64 super(tr("About"), "logo", tr("Display the about screen."), 65 65 Shortcut.registerShortcut("system:about", tr("About"), 66 KeyEvent.VK_F1, Shortcut.SHIFT), true );66 KeyEvent.VK_F1, Shortcut.SHIFT), true, false); 67 67 } 68 68 -
trunk/src/org/openstreetmap/josm/actions/ChangesetManagerToggleAction.java
r14951 r16505 39 39 40 40 @Override 41 protected void installAdapters() { 42 // do nothing 43 } 44 45 @Override 41 46 public void actionPerformed(ActionEvent e) { 42 47 toggleSelectedState(e); -
trunk/src/org/openstreetmap/josm/actions/CloseChangesetAction.java
r15430 r16505 52 52 tr("File: {0}", tr("Close open changesets")), 53 53 KeyEvent.VK_Q, Shortcut.ALT_CTRL), 54 true 54 true, false 55 55 ); 56 56 setHelpId(ht("/Action/CloseChangeset")); -
trunk/src/org/openstreetmap/josm/actions/DownloadPrimitiveAction.java
r14397 r16505 34 34 public DownloadPrimitiveAction() { 35 35 super(tr("Download object..."), "downloadprimitive", tr("Download OSM object by ID"), 36 SHORTCUT, true );36 SHORTCUT, true, false); 37 37 setHelpId(ht("/Action/DownloadObject")); 38 38 } -
trunk/src/org/openstreetmap/josm/actions/ExitAction.java
r14397 r16505 22 22 public ExitAction() { 23 23 super(tr("Exit"), "exit", tr("Exit the application."), 24 Shortcut.registerShortcut("system:menuexit", tr("Exit"), KeyEvent.VK_Q, Shortcut.CTRL), true );24 Shortcut.registerShortcut("system:menuexit", tr("Exit"), KeyEvent.VK_Q, Shortcut.CTRL), true, false); 25 25 setHelpId(ht("/Action/Exit")); 26 26 } -
trunk/src/org/openstreetmap/josm/actions/FullscreenToggleAction.java
r16138 r16505 49 49 setSelected(Config.getPref().getBoolean("draw.fullscreen", false)); 50 50 notifySelectedState(); 51 } 52 53 @Override 54 protected void installAdapters() { 55 // not needed 51 56 } 52 57 -
trunk/src/org/openstreetmap/josm/actions/HistoryInfoAction.java
r16502 r16505 36 36 super(tr("History"), "dialogs/history", 37 37 tr("Display history information about OSM ways, nodes, or relations."), 38 SHORTCUT, false);38 SHORTCUT, true, "action/historyinfo", false); 39 39 setHelpId(ht("/Action/ObjectHistory")); 40 setToolbarId("action/historyinfo");41 MainApplication.getToolbar().register(this);42 40 setEnabled(true); 43 41 } -
trunk/src/org/openstreetmap/josm/actions/NewAction.java
r14397 r16505 23 23 public NewAction() { 24 24 super(tr("New Layer"), "new", tr("Create a new map layer."), 25 Shortcut.registerShortcut("system:new", tr("File: {0}", tr("New Layer")), KeyEvent.VK_N, Shortcut.CTRL), true );25 Shortcut.registerShortcut("system:new", tr("File: {0}", tr("New Layer")), KeyEvent.VK_N, Shortcut.CTRL), true, false); 26 26 setHelpId(ht("/Action/NewLayer")); 27 27 } -
trunk/src/org/openstreetmap/josm/actions/OpenFileAction.java
r15784 r16505 67 67 public OpenFileAction() { 68 68 super(tr("Open..."), "open", tr("Open a file."), 69 Shortcut.registerShortcut("system:open", tr("File: {0}", tr("Open...")), KeyEvent.VK_O, Shortcut.CTRL)); 69 Shortcut.registerShortcut("system:open", tr("File: {0}", tr("Open...")), KeyEvent.VK_O, Shortcut.CTRL), 70 true, null, false); 70 71 setHelpId(ht("/Action/Open")); 71 72 } -
trunk/src/org/openstreetmap/josm/actions/OpenLocationAction.java
r16124 r16505 87 87 super(tr("Open Location..."), "openlocation", tr("Open an URL."), 88 88 Shortcut.registerShortcut("system:open_location", tr("File: {0}", tr("Open Location...")), 89 KeyEvent.VK_L, Shortcut.CTRL), true );89 KeyEvent.VK_L, Shortcut.CTRL), true, false); 90 90 setHelpId(ht("/Action/OpenLocation")); 91 91 this.downloadTasks = new ArrayList<>(); -
trunk/src/org/openstreetmap/josm/actions/PreferencesAction.java
r14397 r16505 88 88 public PreferencesAction() { 89 89 super(tr("Preferences..."), "preference", tr("Open a preferences dialog for global settings."), 90 Shortcut.registerShortcut("system:preferences", tr("Preferences"), KeyEvent.VK_F12, Shortcut.DIRECT), true );90 Shortcut.registerShortcut("system:preferences", tr("Preferences"), KeyEvent.VK_F12, Shortcut.DIRECT), true, false); 91 91 setHelpId(ht("/Action/Preferences")); 92 92 this.tab = null; -
trunk/src/org/openstreetmap/josm/actions/RestartAction.java
r16138 r16505 49 49 public RestartAction() { 50 50 super(tr("Restart"), "restart", tr("Restart the application."), 51 Shortcut.registerShortcut("file:restart", tr("File: {0}", tr("Restart")), KeyEvent.VK_J, Shortcut.ALT_CTRL_SHIFT), false );51 Shortcut.registerShortcut("file:restart", tr("File: {0}", tr("Restart")), KeyEvent.VK_J, Shortcut.ALT_CTRL_SHIFT), false, false); 52 52 setHelpId(ht("/Action/Restart")); 53 53 setToolbarId("action/restart");
Note:
See TracChangeset
for help on using the changeset viewer.