protected static class LoadDataHandler.LoadDataTask extends DownloadOsmTask.AbstractInternalTask
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
layerName |
dataSet, newLayer, zoomAfterDownloadprogressMonitor| Constructor and Description |
|---|
LoadDataTask(boolean newLayer,
DataSet dataSet,
java.lang.String layerName)
Constructs a new
LoadDataTask. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
cancel()
User pressed cancel button.
|
protected void |
finish()
Finish up the data work.
|
void |
realRun()
Called in the worker thread to do the actual work.
|
addNewLayerIfRequired, computeBbox, createNewLayer, createNewLayer, getEditLayer, getFirstModifiableDataLayer, getNumDataLayers, getNumModifiableDataLayers, loadDataafterFinish, canRunInBackground, getProgressMonitor, operationCanceled, runprotected final java.lang.String layerName
public LoadDataTask(boolean newLayer, DataSet dataSet, java.lang.String layerName)
LoadDataTask.newLayer - if true, force download to a new layerdataSet - data setlayerName - layer namepublic void realRun()
PleaseWaitRunnablerealRun in class PleaseWaitRunnableprotected void cancel()
PleaseWaitRunnablecancel in class PleaseWaitRunnableprotected void finish()
PleaseWaitRunnablefinish in class PleaseWaitRunnable