Changeset 11743 in josm for trunk/src/org
- Timestamp:
- 2017-03-18T23:19:45+01:00 (8 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/actions
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/DownloadNotesInViewAction.java
r10318 r11743 25 25 } 26 26 27 /** 28 * Constructs a new {@code DownloadNotesInViewAction} with note icon. 29 * @return a new {@code DownloadNotesInViewAction} with note icon 30 */ 27 31 public static DownloadNotesInViewAction newActionWithNoteIcon() { 28 32 return new DownloadNotesInViewAction("dialogs/notes/note_open"); 29 33 } 30 34 35 /** 36 * Constructs a new {@code DownloadNotesInViewAction} with download icon. 37 * @return a new {@code DownloadNotesInViewAction} with download icon 38 */ 31 39 public static DownloadNotesInViewAction newActionWithDownloadIcon() { 32 40 return new DownloadNotesInViewAction("download"); … … 37 45 final Bounds bounds = Main.map.mapView.getRealBounds(); 38 46 DownloadNotesTask task = new DownloadNotesTask(); 47 task.setZoomAfterDownload(false); 39 48 Future<?> future = task.download(false, bounds, null); 40 49 Main.worker.submit(new PostDownloadHandler(task, future)); -
trunk/src/org/openstreetmap/josm/actions/DownloadOsmInViewAction.java
r10910 r11743 33 33 final Bounds bounds = Main.map.mapView.getRealBounds(); 34 34 DownloadOsmInViewTask task = new DownloadOsmInViewTask(); 35 task.setZoomAfterDownload(false); 35 36 Future<?> future = task.download(bounds); 36 37 Main.worker.submit(new PostDownloadHandler(task, future));
Note:
See TracChangeset
for help on using the changeset viewer.