class UploadSelectionAction.DeletedParentsChecker extends PleaseWaitRunnable
Modifier and Type | Field and Description |
---|---|
private boolean |
canceled |
private java.lang.Exception |
lastException |
private OsmDataLayer |
layer |
private OsmServerBackreferenceReader |
reader |
private java.util.Collection<OsmPrimitive> |
toUpload |
progressMonitor
Constructor and Description |
---|
UploadSelectionAction.DeletedParentsChecker(OsmDataLayer layer,
java.util.Collection<OsmPrimitive> toUpload) |
Modifier and Type | Method and Description |
---|---|
protected void |
cancel()
User pressed cancel button.
|
protected void |
finish()
Finish up the data work.
|
protected java.util.Set<OsmPrimitive> |
getPrimitivesToCheckForParents()
Replies the collection of deleted OSM primitives for which we have to check whether
there are dangling references on the server.
|
protected void |
realRun()
Called in the worker thread to do the actual work.
|
afterFinish, canRunInBackground, getProgressMonitor, operationCanceled, run
private boolean canceled
private java.lang.Exception lastException
private java.util.Collection<OsmPrimitive> toUpload
private OsmDataLayer layer
private OsmServerBackreferenceReader reader
public UploadSelectionAction.DeletedParentsChecker(OsmDataLayer layer, java.util.Collection<OsmPrimitive> toUpload)
layer
- the data layer for which a collection of selected primitives is uploadedtoUpload
- the collection of primitives to uploadprotected void cancel()
PleaseWaitRunnable
cancel
in class PleaseWaitRunnable
protected void finish()
PleaseWaitRunnable
finish
in class PleaseWaitRunnable
protected java.util.Set<OsmPrimitive> getPrimitivesToCheckForParents()
protected void realRun() throws org.xml.sax.SAXException, java.io.IOException, OsmTransferException
PleaseWaitRunnable
realRun
in class PleaseWaitRunnable
org.xml.sax.SAXException
java.io.IOException
OsmTransferException