Class DownloadPrimitivesWithReferrersTask

    • Field Detail

      • newLayer

        private final boolean newLayer
        If true download into a new layer
      • full

        private final boolean full
        If true, download members for relation
      • downloadReferrers

        private final boolean downloadReferrers
        If true, download also referrers
      • canceled

        private boolean canceled
        Flag indicated that user ask for cancel this task
    • Constructor Detail

      • DownloadPrimitivesWithReferrersTask

        public DownloadPrimitivesWithReferrersTask​(boolean newLayer,
                                                   List<PrimitiveId> ids,
                                                   boolean downloadReferrers,
                                                   boolean full,
                                                   String newLayerName,
                                                   ProgressMonitor monitor)
        Constructor
        Parameters:
        newLayer - if the data should be downloaded into a new layer
        ids - List of primitive id to download
        downloadReferrers - if the referrers of the object should be downloaded as well, i.e., parent relations, and for nodes, additionally, parent ways
        full - if the members of a relation should be downloaded as well
        newLayerName - the name to use for the new layer, can be null.
        monitor - ProgressMonitor to use, or null to create a new one