Package org.openstreetmap.josm.gui.io
Class UpdatePrimitivesTask
java.lang.Object
org.openstreetmap.josm.gui.PleaseWaitRunnable
org.openstreetmap.josm.gui.io.AbstractPrimitiveTask
org.openstreetmap.josm.gui.io.UpdatePrimitivesTask
- All Implemented Interfaces:
Runnable,ProgressMonitor.CancelListener
The asynchronous task for updating a collection of objects using multi fetch.
- Since:
- 2599
-
Field Summary
FieldsFields inherited from class org.openstreetmap.josm.gui.io.AbstractPrimitiveTask
canceled, ds, fullRelation, lastException, layer, multiObjectReader, objectReaderFields inherited from class org.openstreetmap.josm.gui.PleaseWaitRunnable
progressMonitor -
Constructor Summary
ConstructorsConstructorDescriptionUpdatePrimitivesTask(OsmDataLayer layer, Collection<? extends OsmPrimitive> toUpdate) Constructs a newUpdatePrimitivesTask. -
Method Summary
Modifier and TypeMethodDescriptionprotected voidMethods inherited from class org.openstreetmap.josm.gui.io.AbstractPrimitiveTask
cancel, finish, getMissingPrimitives, loadIncompleteNodes, realRun, setDownloadRelations, setZoomMethods inherited from class org.openstreetmap.josm.gui.PleaseWaitRunnable
afterFinish, canRunInBackground, getProgressMonitor, operationCanceled, run
-
Field Details
-
toUpdate
-
-
Constructor Details
-
UpdatePrimitivesTask
Constructs a newUpdatePrimitivesTask.- Parameters:
layer- the layer in which primitives are updated. Must not be null.toUpdate- a collection of primitives to update from the server. Set to the empty collection if null.- Throws:
IllegalArgumentException- if layer is null.
-
-
Method Details
-
initMultiFetchReader
- Specified by:
initMultiFetchReaderin classAbstractPrimitiveTask
-