Class UploadSelectionAction.UploadHullBuilder

java.lang.Object
org.openstreetmap.josm.actions.UploadSelectionAction.UploadHullBuilder
All Implemented Interfaces:
OsmPrimitiveVisitor
Enclosing class:
UploadSelectionAction

Computes the collection of primitives to upload, given a collection of candidate primitives. Some of the candidates are excluded, i.e. if they aren't modified. Other primitives are added. A typical case is a primitive which is new and and which is referred by a modified relation. In order to upload the relation the new primitive has to be uploaded as well, even if it isn't included in the list of candidate primitives.