class ChildRelationBrowser.DownloadRelationSetTask extends PleaseWaitRunnable
| Modifier and Type | Field and Description |
|---|---|
private boolean |
canceled |
private int |
conflictsCount |
private Exception |
lastException |
private Set<Relation> |
relations |
progressMonitor| Constructor and Description |
|---|
DownloadRelationSetTask(Dialog parent,
Set<Relation> relations) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
cancel()
User pressed cancel button.
|
protected void |
finish()
Finish up the data work.
|
protected void |
mergeDataSet(DataSet dataSet) |
protected void |
realRun()
Called in the worker thread to do the actual work.
|
protected void |
refreshView(Relation relation) |
afterFinish, canRunInBackground, getProgressMonitor, operationCanceled, runprivate boolean canceled
private int conflictsCount
private Exception lastException
public DownloadRelationSetTask(Dialog parent, Set<Relation> relations)
protected void cancel()
PleaseWaitRunnablecancel in class PleaseWaitRunnableprotected void refreshView(Relation relation)
protected void finish()
PleaseWaitRunnablefinish in class PleaseWaitRunnableprotected void mergeDataSet(DataSet dataSet)
protected void realRun() throws SAXException, IOException, OsmTransferException
PleaseWaitRunnablerealRun in class PleaseWaitRunnableSAXExceptionIOExceptionOsmTransferException