class ChangesetQueryTask.DownloadTask extends AbstractChangesetDownloadTask.RunnableDownloadTask
| Modifier and Type | Field and Description |
|---|---|
private ChangesetQuery |
query
the changeset query
|
private OsmServerUserInfoReader |
userInfoReader
the reader object used to read information about the current user from the API
|
downloadedChangesets, lastException, readerprogressMonitor| Constructor and Description |
|---|
DownloadTask(java.awt.Component parent,
ChangesetQuery query) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
cancel()
User pressed cancel button.
|
protected void |
finish()
Finish up the data work.
|
protected void |
fullyIdentifyCurrentUser()
Tries to fully identify the current JOSM user
|
protected void |
realRun()
Called in the worker thread to do the actual work.
|
rememberLastException, updateChangesetsafterFinish, canRunInBackground, getProgressMonitor, operationCanceled, runprivate ChangesetQuery query
private final OsmServerUserInfoReader userInfoReader
DownloadTask(java.awt.Component parent, ChangesetQuery query)
protected void fullyIdentifyCurrentUser() throws OsmTransferException
OsmTransferException - if something went wrongprotected void realRun() throws org.xml.sax.SAXException, java.io.IOException, OsmTransferException
PleaseWaitRunnablerealRun in class PleaseWaitRunnableorg.xml.sax.SAXException - if a SAX error occursjava.io.IOException - if an I/O error occursOsmTransferException - if a communication error with the OSM server occursprotected void finish()
PleaseWaitRunnablefinish in class PleaseWaitRunnableprotected void cancel()
PleaseWaitRunnablecancel in class AbstractChangesetDownloadTask.RunnableDownloadTask