Class DownloadPrimitiveAction

    • Field Detail

      • SHORTCUT

        public static final Shortcut SHORTCUT
        Action shortcut (ctrl-shift-O by default), made public in order to be used from GettingStarted page.
    • Method Detail

      • actionPerformed

        public void actionPerformed​(java.awt.event.ActionEvent e)
      • processItems

        public static void processItems​(boolean newLayer,
                                        java.util.List<PrimitiveId> ids,
                                        boolean downloadReferrers,
                                        boolean full)
        Submits the download task for the given primitive ids.
        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