Class OverpassWizardRegistration

    • Field Detail

      • wizards

        private static final java.util.List<java.util.function.Function<OverpassWizardRegistration.OverpassWizardCallbacks,​javax.swing.Action>> wizards
        A list of all registered wizards. Needs to be synchronized since plugin registration may happen outside main thread / asynchronously.
    • Method Detail

      • registerWizard

        public static void registerWizard​(java.util.function.Function<OverpassWizardRegistration.OverpassWizardCallbacks,​javax.swing.Action> wizard)
        Registers a wizard to be added to the overpass download dialog

        To be called by plugins during the JOSM boot process or at least before opening the download dialog for the first time.

        Parameters:
        wizard - The wizard to register
        Since:
        13930, 16355 (signature)