Package org.openstreetmap.josm.gui.io
Class SaveLayersDialog.SaveAndUploadTask
java.lang.Object
org.openstreetmap.josm.gui.io.SaveLayersDialog.SaveAndUploadTask
- All Implemented Interfaces:
Runnable
- Enclosing class:
- SaveLayersDialog
This is the asynchronous task which uploads modified layers to the server and
saves them to files, if requested by the user.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanprivate AbstractIOTaskprivate final SaveLayersModelprivate final ProgressMonitorprivate final ExecutorService -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcancel()voidrun()protected voidsaveLayers(List<SaveLayerInfo> toSave) protected voiduploadLayers(List<SaveLayerInfo> toUpload) private voidUpdate themodelstate on upload finishprotected void
-
Field Details
-
model
-
monitor
-
worker
-
canceled
-
currentTask
-
-
Constructor Details
-
SaveAndUploadTask
-
-
Method Details