class RelationTree.RelationLoader extends PleaseWaitRunnable
Modifier and Type | Field and Description |
---|---|
private boolean |
canceled |
private DataSet |
ds |
private java.lang.Exception |
lastException |
private javax.swing.tree.TreePath |
path |
private Relation |
relation |
progressMonitor
Constructor and Description |
---|
RelationLoader(java.awt.Dialog dialog,
Relation relation,
javax.swing.tree.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, run
private boolean canceled
private java.lang.Exception lastException
private final javax.swing.tree.TreePath path
RelationLoader(java.awt.Dialog dialog, Relation relation, javax.swing.tree.TreePath path)
protected void cancel()
PleaseWaitRunnable
cancel
in class PleaseWaitRunnable
protected void finish()
PleaseWaitRunnable
finish
in class PleaseWaitRunnable
protected void realRun() throws org.xml.sax.SAXException, java.io.IOException, OsmTransferException
PleaseWaitRunnable
realRun
in class PleaseWaitRunnable
org.xml.sax.SAXException
- if a SAX error occursjava.io.IOException
- if an I/O error occursOsmTransferException
- if a communication error with the OSM server occurs