Class ChildRelationBrowser.DownloadTask
java.lang.Object
org.openstreetmap.josm.gui.PleaseWaitRunnable
org.openstreetmap.josm.gui.dialogs.relation.ChildRelationBrowser.DownloadTask
- All Implemented Interfaces:
Runnable,ProgressMonitor.CancelListener
- Direct Known Subclasses:
ChildRelationBrowser.DownloadAllChildrenTask,ChildRelationBrowser.DownloadRelationSetTask
- Enclosing class:
- ChildRelationBrowser
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected intprotected Exceptionprotected MultiFetchServerObjectReaderFields inherited from class org.openstreetmap.josm.gui.PleaseWaitRunnable
progressMonitor -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcancel()User pressed cancel button.protected MultiFetchServerObjectReaderprotected voidfinish()Finish up the data work.protected voidmergeDataSet(DataSet ds) Merges the primitives indsto the dataset of the edit layerprotected voidrefreshView(Relation relation) Methods inherited from class org.openstreetmap.josm.gui.PleaseWaitRunnable
afterFinish, canRunInBackground, getProgressMonitor, operationCanceled, realRun, run
-
Field Details
-
canceled
-
conflictsCount
-
lastException
-
reader
-
-
Constructor Details
-
DownloadTask
DownloadTask(String title, Dialog parent)
-
-
Method Details
-
cancel
Description copied from class:PleaseWaitRunnableUser pressed cancel button.- Specified by:
cancelin classPleaseWaitRunnable
-
createReader
-
mergeDataSet
Merges the primitives indsto the dataset of the edit layer- Parameters:
ds- the data set
-
refreshView
-
finish
Description copied from class:PleaseWaitRunnableFinish up the data work. Is guaranteed to be called if realRun is called. Finish is called in the gui thread just after the dialog disappeared.- Specified by:
finishin classPleaseWaitRunnable
-