Changeset 17049 in josm
- Timestamp:
- 2020-09-22T15:48:59+02:00 (4 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/actions
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/DownloadNotesInViewAction.java
r16868 r17049 5 5 6 6 import java.awt.event.ActionEvent; 7 import java.awt.event.KeyEvent; 7 8 import java.util.concurrent.Future; 8 9 … … 14 15 import org.openstreetmap.josm.io.NetworkManager; 15 16 import org.openstreetmap.josm.io.OnlineResource; 17 import org.openstreetmap.josm.tools.Shortcut; 16 18 17 19 /** … … 23 25 24 26 private DownloadNotesInViewAction(String iconName) { 25 super(tr("Download notes in current view"), iconName, tr("Download notes in current view"), null, false, 27 super(tr("Download notes in current view"), iconName, tr("Download notes in current view"), 28 Shortcut.registerShortcut("file:downloadnotesinview", 29 tr("Download notes in current view"), KeyEvent.CHAR_UNDEFINED, Shortcut.NONE), false, 26 30 "dialogs/notes/download_in_view", true); 27 31 } -
trunk/src/org/openstreetmap/josm/actions/DownloadOsmInViewAction.java
r16509 r17049 5 5 6 6 import java.awt.event.ActionEvent; 7 import java.awt.event.KeyEvent; 7 8 import java.util.concurrent.Future; 8 9 … … 15 16 import org.openstreetmap.josm.io.NetworkManager; 16 17 import org.openstreetmap.josm.io.OnlineResource; 18 import org.openstreetmap.josm.tools.Shortcut; 17 19 18 20 /** … … 27 29 */ 28 30 public DownloadOsmInViewAction() { 29 super(tr("Download in current view"), "download_in_view", tr("Download map data from the OSM server in current view"), null, false, 31 super(tr("Download in current view"), "download_in_view", tr("Download map data from the OSM server in current view"), 32 Shortcut.registerShortcut("file:downloadosminview", 33 tr("Download in current view"), KeyEvent.CHAR_UNDEFINED, Shortcut.NONE), false, 30 34 "dialogs/download_in_view", true); 31 35 }
Note:
See TracChangeset
for help on using the changeset viewer.