Class ChildRelationBrowser.DownloadRelationSetTask
java.lang.Object
org.openstreetmap.josm.gui.PleaseWaitRunnable
org.openstreetmap.josm.gui.dialogs.relation.ChildRelationBrowser.DownloadTask
org.openstreetmap.josm.gui.dialogs.relation.ChildRelationBrowser.DownloadRelationSetTask
- All Implemented Interfaces:
Runnable,ProgressMonitor.CancelListener
- Enclosing class:
- ChildRelationBrowser
The asynchronous task for downloading a set of relations
-
Field Summary
FieldsFields inherited from class org.openstreetmap.josm.gui.dialogs.relation.ChildRelationBrowser.DownloadTask
canceled, conflictsCount, lastException, readerFields inherited from class org.openstreetmap.josm.gui.PleaseWaitRunnable
progressMonitor -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidrealRun()Called in the worker thread to do the actual work.Methods inherited from class org.openstreetmap.josm.gui.dialogs.relation.ChildRelationBrowser.DownloadTask
cancel, createReader, finish, mergeDataSet, refreshViewMethods inherited from class org.openstreetmap.josm.gui.PleaseWaitRunnable
afterFinish, canRunInBackground, getProgressMonitor, operationCanceled, run
-
Field Details
-
relations
-
-
Constructor Details
-
DownloadRelationSetTask
DownloadRelationSetTask(Dialog parent, Set<Relation> relations)
-
-
Method Details
-
realRun
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 classPleaseWaitRunnable- Throws:
SAXException- if a SAX error occursIOException- if an I/O error occursOsmTransferException- if a communication error with the OSM server occurs
-