Changeset 33 in josm for src/org/openstreetmap/josm/actions/DownloadAction.java
- Timestamp:
- 2005-12-22T01:32:33+01:00 (18 years ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
src/org/openstreetmap/josm/actions/DownloadAction.java
r32 r33 36 36 37 37 /** 38 * Action that opens a connection to the osm server .38 * Action that opens a connection to the osm server and download map data. 39 39 * 40 40 * An dialog is displayed asking the user to specify a rectangle to grab. … … 43 43 * @author imi 44 44 */ 45 public class OpenOsmServerAction extends JosmAction {45 public class DownloadAction extends JosmAction { 46 46 47 47 JTextField[] latlon = new JTextField[]{ … … 52 52 JCheckBox rawGps = new JCheckBox("Open as raw gps data", false); 53 53 54 public OpenOsmServerAction() {55 super(" Connect to OSM", "connectosm", "Open a connection to the OSM server.", KeyEvent.VK_C,56 KeyStroke.getAWTKeyStroke(KeyEvent.VK_ C, InputEvent.CTRL_DOWN_MASK | InputEvent.SHIFT_DOWN_MASK));54 public DownloadAction() { 55 super("Download from OSM", "download", "Download map data from the OSM server.", KeyEvent.VK_D, 56 KeyStroke.getAWTKeyStroke(KeyEvent.VK_D, InputEvent.CTRL_DOWN_MASK | InputEvent.SHIFT_DOWN_MASK)); 57 57 } 58 58
Note:
See TracChangeset
for help on using the changeset viewer.