private static final class GeoImageLayer.Loader extends PleaseWaitRunnable
Modifier and Type | Field and Description |
---|---|
private boolean |
canceled |
private Set<String> |
errorMessages |
private GpxLayer |
gpxLayer |
private GeoImageLayer |
layer |
private Set<String> |
loadedDirectories |
private Collection<File> |
selection |
progressMonitor
Constructor and Description |
---|
GeoImageLayer.Loader(Collection<File> selection,
GpxLayer gpxLayer) |
Modifier and Type | Method and Description |
---|---|
private void |
addRecursiveFiles(Collection<File> files,
Collection<File> sel) |
protected void |
cancel()
User pressed cancel button.
|
protected void |
finish()
Finish up the data work.
|
protected String |
formatErrorMessages() |
protected void |
realRun()
Called in the worker thread to do the actual work.
|
protected void |
rememberError(String message) |
afterFinish, canRunInBackground, getProgressMonitor, operationCanceled, run
private boolean canceled
private GeoImageLayer layer
private Collection<File> selection
private Set<String> loadedDirectories
private Set<String> errorMessages
public GeoImageLayer.Loader(Collection<File> selection, GpxLayer gpxLayer)
protected void rememberError(String message)
protected void realRun() throws IOException
PleaseWaitRunnable
realRun
in class PleaseWaitRunnable
IOException
private void addRecursiveFiles(Collection<File> files, Collection<File> sel)
protected String formatErrorMessages()
protected void finish()
PleaseWaitRunnable
finish
in class PleaseWaitRunnable
protected void cancel()
PleaseWaitRunnable
cancel
in class PleaseWaitRunnable