public final class OverpassWizardRegistration extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
OverpassWizardRegistration.OverpassQueryWizard
Defines a query wizard that generates overpass queries.
|
static interface |
OverpassWizardRegistration.OverpassWizardCallbacks
|
Modifier and Type | Field and Description |
---|---|
private static java.util.List<OverpassWizardRegistration.OverpassQueryWizard> |
wizards
A list of all reigstered wizards.
|
Modifier | Constructor and Description |
---|---|
private |
OverpassWizardRegistration() |
Modifier and Type | Method and Description |
---|---|
static java.util.List<OverpassWizardRegistration.OverpassQueryWizard> |
getWizards()
Gets all wizards that are currently registered.
|
static void |
registerWizard(OverpassWizardRegistration.OverpassQueryWizard wizard)
Registers a wizard to be added to the overpass download dialog
|
private static java.util.List<OverpassWizardRegistration.OverpassQueryWizard> wizards
private OverpassWizardRegistration()
public static void registerWizard(OverpassWizardRegistration.OverpassQueryWizard wizard)
To be called by plugins during the JOSM boot process or at least before opening the download dialog for the first time.
wizard
- The wizard to registerpublic static java.util.List<OverpassWizardRegistration.OverpassQueryWizard> getWizards()