private Collection<OsmPrimitive> children;
private OsmDataLayer curLayer;
private MultiFetchServerObjectReader objectReader;
public DownloadRelationMemberTask(Relation parent, Collection<OsmPrimitive> children, OsmDataLayer curLayer, Dialog dialog) {
super(tr("Download relation members"), new PleaseWaitProgressMonitor(dialog), false /* don't ignore exception */);
if(parent != null)
this.parents.add(parent);
this.children = children;
this.curLayer = curLayer;
}