Class AbstractChangesetDownloadTask.RunnableDownloadTask
java.lang.Object
org.openstreetmap.josm.gui.PleaseWaitRunnable
org.openstreetmap.josm.actions.downloadtasks.AbstractChangesetDownloadTask.RunnableDownloadTask
- All Implemented Interfaces:
Runnable,ProgressMonitor.CancelListener
- Direct Known Subclasses:
ChangesetContentDownloadTask.DownloadTask,ChangesetHeaderDownloadTask.DownloadTask,ChangesetQueryTask.DownloadTask
- Enclosing class:
- AbstractChangesetDownloadTask
-
Field Summary
FieldsModifier and TypeFieldDescriptionthe set of downloaded changesetsprotected Exceptionkeeps the last exception thrown in the task, if anyprotected final OsmServerChangesetReaderthe reader object used to read changesets from the APIFields inherited from class org.openstreetmap.josm.gui.PleaseWaitRunnable
progressMonitor -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcancel()User pressed cancel button.protected final voidprotected final voidMethods inherited from class org.openstreetmap.josm.gui.PleaseWaitRunnable
afterFinish, canRunInBackground, finish, getProgressMonitor, operationCanceled, realRun, run
-
Field Details
-
reader
the reader object used to read changesets from the API -
downloadedChangesets
the set of downloaded changesets -
lastException
keeps the last exception thrown in the task, if any
-
-
Constructor Details
-
RunnableDownloadTask
RunnableDownloadTask(Component parent, String title)
-
-
Method Details
-
cancel
Description copied from class:PleaseWaitRunnableUser pressed cancel button.- Specified by:
cancelin classPleaseWaitRunnable
-
rememberLastException
-
updateChangesets
-