class SourceEditor.SourceLoader extends PleaseWaitRunnable
| Modifier and Type | Field and Description |
|---|---|
private boolean |
canceled |
private java.io.BufferedReader |
reader |
private java.util.List<SourceProvider> |
sourceProviders |
private java.util.List<SourceEditor.ExtendedSourceEntry> |
sources |
private java.lang.String |
url |
progressMonitor| Constructor and Description |
|---|
SourceLoader(java.lang.String url,
java.util.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(java.lang.Exception e) |
afterFinish, canRunInBackground, getProgressMonitor, operationCanceled, runprivate final java.lang.String url
private final java.util.List<SourceProvider> sourceProviders
private java.io.BufferedReader reader
private boolean canceled
private final java.util.List<SourceEditor.ExtendedSourceEntry> sources
public SourceLoader(java.lang.String url, java.util.List<SourceProvider> sourceProviders)
protected void cancel()
PleaseWaitRunnablecancel in class PleaseWaitRunnableprotected void warn(java.lang.Exception e)
protected void realRun() throws org.xml.sax.SAXException, java.io.IOException, OsmTransferException
PleaseWaitRunnablerealRun in class PleaseWaitRunnableorg.xml.sax.SAXExceptionjava.io.IOExceptionOsmTransferExceptionprotected void finish()
PleaseWaitRunnablefinish in class PleaseWaitRunnable