class ChildRelationBrowser.DownloadAllChildrenTask extends ChildRelationBrowser.DownloadTask
| Modifier and Type | Field and Description |
|---|---|
private java.util.Set<java.lang.Long> |
downloadedRelationIds |
private java.util.Stack<Relation> |
relationsToDownload |
canceled, conflictsCount, lastExceptionprogressMonitor| Constructor and Description |
|---|
DownloadAllChildrenTask(java.awt.Dialog parent,
Relation r) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
mergeDataSet(DataSet ds)
Merges the primitives in
ds to the dataset of the edit layer |
protected void |
realRun()
Called in the worker thread to do the actual work.
|
protected void |
rememberChildRelationsToDownload(Relation parent)
Remembers the child relations to download
|
protected void |
warnBecauseOfDeletedRelation(Relation r)
warns the user if a relation couldn't be loaded because it was deleted on
the server (the server replied a HTTP code 410)
|
cancel, finish, refreshViewafterFinish, canRunInBackground, getProgressMonitor, operationCanceled, runprivate final java.util.Stack<Relation> relationsToDownload
private final java.util.Set<java.lang.Long> downloadedRelationIds
DownloadAllChildrenTask(java.awt.Dialog parent, Relation r)
protected void warnBecauseOfDeletedRelation(Relation r)
r - the relationprotected void rememberChildRelationsToDownload(Relation parent)
parent - the parent relationprotected void mergeDataSet(DataSet ds)
ds to the dataset of the edit layerds - the data setprotected 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 occurs