public class DownloadOpenChangesetsTask extends PleaseWaitRunnable
| Modifier and Type | Field and Description |
|---|---|
private boolean |
canceled |
private java.util.List<Changeset> |
changesets |
private java.lang.Exception |
lastException |
private java.awt.Component |
parent |
private OsmServerChangesetReader |
reader |
progressMonitor| Constructor and Description |
|---|
DownloadOpenChangesetsTask(java.awt.Component parent)
Constructs the task
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
cancel()
User pressed cancel button.
|
protected void |
finish()
Finish up the data work.
|
boolean |
isCanceled() |
protected void |
realRun()
Called in the worker thread to do the actual work.
|
protected void |
refreshUserIdentity()
Refreshes the user info from the server.
|
afterFinish, canRunInBackground, getProgressMonitor, operationCanceled, runprivate boolean canceled
private OsmServerChangesetReader reader
private java.util.List<Changeset> changesets
private java.lang.Exception lastException
private java.awt.Component parent
public DownloadOpenChangesetsTask(java.awt.Component parent)
parent - is a component to show error messagesprotected void cancel()
PleaseWaitRunnablecancel in class PleaseWaitRunnableprotected void finish()
PleaseWaitRunnablefinish in class PleaseWaitRunnableprotected void refreshUserIdentity()
protected void realRun() throws org.xml.sax.SAXException, java.io.IOException, OsmTransferException
PleaseWaitRunnablerealRun in class PleaseWaitRunnableorg.xml.sax.SAXExceptionjava.io.IOExceptionOsmTransferExceptionpublic boolean isCanceled()