static class DownloadWmsAlongTrackAction.PrecacheWmsTask extends PleaseWaitRunnable
| Modifier and Type | Field and Description |
|---|---|
private AbstractTileSourceLayer<? extends AbstractTMSTileSource> |
layer |
private java.util.List<LatLon> |
points |
private AbstractTileSourceLayer.PrecacheTask |
precacheTask |
progressMonitor| Modifier | Constructor and Description |
|---|---|
protected |
PrecacheWmsTask(AbstractTileSourceLayer<? extends AbstractTMSTileSource> layer,
java.util.List<LatLon> points) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
cancel()
User pressed cancel button.
|
ProgressTaskId |
canRunInBackground()
Task can run in background if returned value != null.
|
protected void |
finish()
Finish up the data work.
|
protected void |
realRun()
Called in the worker thread to do the actual work.
|
afterFinish, getProgressMonitor, operationCanceled, runprivate final AbstractTileSourceLayer<? extends AbstractTMSTileSource> layer
private AbstractTileSourceLayer.PrecacheTask precacheTask
protected PrecacheWmsTask(AbstractTileSourceLayer<? extends AbstractTMSTileSource> layer, java.util.List<LatLon> points)
protected void realRun() throws org.xml.sax.SAXException, java.io.IOException, OsmTransferException
PleaseWaitRunnablerealRun in class PleaseWaitRunnableorg.xml.sax.SAXException - if a SAX error occursjava.io.IOException - if an I/O error occursOsmTransferException - if a communication error with the OSM server occursprotected void finish()
PleaseWaitRunnablefinish in class PleaseWaitRunnableprotected void cancel()
PleaseWaitRunnablecancel in class PleaseWaitRunnablepublic ProgressTaskId canRunInBackground()
PleaseWaitRunnablecanRunInBackground in class PleaseWaitRunnable