Package | Description |
---|---|
org.openstreetmap.josm.data.preferences.sources |
Provide classes to manage source of JOSM extensions that can be chosen in user preferences:
map paint styles
tagging presets
validator rules
|
org.openstreetmap.josm.gui.preferences |
Provides generic classes for handling JOSM preferences.
|
org.openstreetmap.josm.io |
Provides the classes for JOSM input/output support.
|
Modifier and Type | Field and Description |
---|---|
SourceType |
SourceEntry.type
The type of source entry.
|
protected SourceType |
SourcePrefHelper.type |
Modifier and Type | Method and Description |
---|---|
static SourceType |
SourceType.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SourceType[] |
SourceType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
ExtendedSourceEntry(SourceType type,
java.lang.String simpleFileName,
java.lang.String url)
Constructs a new
ExtendedSourceEntry . |
SourceEntry(SourceType type,
java.lang.String url,
boolean isZip,
java.lang.String zipEntryPath,
java.lang.String name,
java.lang.String title,
boolean active)
Constructs a new
SourceEntry . |
SourceEntry(SourceType type,
java.lang.String url,
java.lang.String name,
java.lang.String title,
boolean active)
Constructs a new
SourceEntry . |
SourcePrefHelper(java.lang.String pref,
SourceType type)
Constructs a new
SourcePrefHelper for the given preference key. |
Modifier and Type | Field and Description |
---|---|
protected SourceType |
SourceEditor.sourceType
the type of source entry
|
Constructor and Description |
---|
SourceEditor(SourceType sourceType,
java.lang.String availableSourcesUrl,
java.util.List<SourceProvider> sourceProviders,
boolean handleIcons)
Constructs a new
SourceEditor . |
Modifier and Type | Field and Description |
---|---|
private static java.util.Map<SourceType,java.util.function.Consumer<SourceEntry>> |
FileWatcher.loaderMap |
Modifier and Type | Method and Description |
---|---|
static java.util.function.Consumer<SourceEntry> |
FileWatcher.registerLoader(SourceType type,
java.util.function.Consumer<SourceEntry> loader)
Registers a source loader, allowing dynamic reloading when an entry changes.
|