Changeset 8712 in josm
- Timestamp:
- 2015-09-01T20:59:49+02:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/OverpassDownloadAction.java
r8711 r8712 7 7 import java.awt.Component; 8 8 import java.awt.event.ActionEvent; 9 import java.awt.event.KeyEvent; 9 10 import java.io.UnsupportedEncodingException; 10 11 import java.net.URLEncoder; … … 38 39 import org.openstreetmap.josm.io.OsmTransferException; 39 40 import org.openstreetmap.josm.tools.GBC; 41 import org.openstreetmap.josm.tools.Shortcut; 40 42 import org.openstreetmap.josm.tools.Utils; 41 43 … … 51 53 public OverpassDownloadAction() { 52 54 super(tr("Download from Overpass API ..."), "download-overpass", tr("Download map data from Overpass API server."), 53 null, true, "overpassdownload/download", true); 55 Shortcut.registerShortcut("file:download-overpass", tr("File: {0}", tr("Download from Overpass API ...")), KeyEvent.VK_DOWN, Shortcut.ALT_SHIFT), 56 true, "overpassdownload/download", true); 54 57 putValue("help", ht("/Action/OverpassDownload")); 55 58 }
Note:
See TracChangeset
for help on using the changeset viewer.