class RelationTree.RelationLoader extends PleaseWaitRunnable
| Modifier and Type | Field and Description |
|---|---|
private boolean |
canceled |
private DataSet |
ds |
private Exception |
lastException |
private TreePath |
path |
private Relation |
relation |
progressMonitor| Constructor and Description |
|---|
RelationLoader(Dialog dialog,
Relation relation,
TreePath path) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
cancel()
User pressed cancel button.
|
protected void |
finish()
Finish up the data work.
|
protected void |
realRun()
Called in the worker thread to do the actual work.
|
afterFinish, canRunInBackground, getProgressMonitor, operationCanceled, runprivate boolean canceled
private Exception lastException
RelationLoader(Dialog dialog, Relation relation, TreePath path)
protected void cancel()
PleaseWaitRunnablecancel in class PleaseWaitRunnableprotected void finish()
PleaseWaitRunnablefinish in class PleaseWaitRunnableprotected void realRun() throws SAXException, IOException, OsmTransferException
PleaseWaitRunnablerealRun in class PleaseWaitRunnableSAXException - if a SAX error occursIOException - if an I/O error occursOsmTransferException - if a communication error with the OSM server occurs