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, run
private boolean canceled
private int conflictsCount
private Exception lastException
public DownloadRelationSetTask(Dialog parent, Set<Relation> relations)
protected void cancel()
PleaseWaitRunnable
cancel
in class PleaseWaitRunnable
protected void refreshView(Relation relation)
protected void finish()
PleaseWaitRunnable
finish
in class PleaseWaitRunnable
protected void mergeDataSet(DataSet dataSet)
protected void realRun() throws SAXException, IOException, OsmTransferException
PleaseWaitRunnable
realRun
in class PleaseWaitRunnable
SAXException
IOException
OsmTransferException