Class DownloadNotesTask.DownloadBoundingBoxTask
- java.lang.Object
-
- org.openstreetmap.josm.gui.PleaseWaitRunnable
-
- org.openstreetmap.josm.actions.downloadtasks.DownloadNotesTask.DownloadTask
-
- org.openstreetmap.josm.actions.downloadtasks.DownloadNotesTask.DownloadBoundingBoxTask
-
- All Implemented Interfaces:
java.lang.Runnable,ProgressMonitor.CancelListener
- Enclosing class:
- DownloadNotesTask
class DownloadNotesTask.DownloadBoundingBoxTask extends DownloadNotesTask.DownloadTask
-
-
Field Summary
Fields Modifier and Type Field Description private Boundsbounds-
Fields inherited from class org.openstreetmap.josm.actions.downloadtasks.DownloadNotesTask.DownloadTask
notesData, reader
-
Fields inherited from class org.openstreetmap.josm.gui.PleaseWaitRunnable
progressMonitor
-
-
Constructor Summary
Constructors Constructor Description DownloadBoundingBoxTask(Bounds bounds, ProgressMonitor progressMonitor)DownloadBoundingBoxTask(OsmServerReader reader, ProgressMonitor progressMonitor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidrealRun()Called in the worker thread to do the actual work.-
Methods inherited from class org.openstreetmap.josm.actions.downloadtasks.DownloadNotesTask.DownloadTask
cancel, finish
-
Methods inherited from class org.openstreetmap.josm.gui.PleaseWaitRunnable
afterFinish, canRunInBackground, getProgressMonitor, operationCanceled, run
-
-
-
-
Constructor Detail
-
DownloadBoundingBoxTask
DownloadBoundingBoxTask(Bounds bounds, ProgressMonitor progressMonitor)
-
DownloadBoundingBoxTask
DownloadBoundingBoxTask(OsmServerReader reader, ProgressMonitor progressMonitor)
-
-
Method Detail
-
realRun
public void realRun() throws java.io.IOException, org.xml.sax.SAXException, OsmTransferException
Description copied from class:PleaseWaitRunnableCalled in the worker thread to do the actual work. When any of the exception is thrown, a message box will be displayed and closeDialog is called. finish() is called in any case.- Specified by:
realRunin classDownloadNotesTask.DownloadTask- Throws:
java.io.IOException- if an I/O error occursorg.xml.sax.SAXException- if a SAX error occursOsmTransferException- if a communication error with the OSM server occurs
-
-