class SourceEditor.SourceLoader extends PleaseWaitRunnable
Modifier and Type | Field and Description |
---|---|
private boolean |
canceled |
private BufferedReader |
reader |
private List<SourceProvider> |
sourceProviders |
private List<SourceEditor.ExtendedSourceEntry> |
sources |
private String |
url |
progressMonitor
Constructor and Description |
---|
SourceEditor.SourceLoader(String url,
List<SourceProvider> sourceProviders) |
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.
|
protected void |
warn(Exception e) |
afterFinish, canRunInBackground, getProgressMonitor, operationCanceled, run
private final List<SourceProvider> sourceProviders
private BufferedReader reader
private boolean canceled
private final List<SourceEditor.ExtendedSourceEntry> sources
public SourceEditor.SourceLoader(String url, List<SourceProvider> sourceProviders)
protected void cancel()
PleaseWaitRunnable
cancel
in class PleaseWaitRunnable
protected void realRun() throws SAXException, IOException, OsmTransferException
PleaseWaitRunnable
realRun
in class PleaseWaitRunnable
SAXException
IOException
OsmTransferException
protected void finish()
PleaseWaitRunnable
finish
in class PleaseWaitRunnable