Package | Description |
---|---|
org.openstreetmap.josm |
Provides the classes of JOSM application.
|
org.openstreetmap.josm.data |
Provides the classes for JOSM managed data.
|
org.openstreetmap.josm.data.oauth | |
org.openstreetmap.josm.gui.oauth |
Provides GUI classes for handling OAuth authentication to OSM API.
|
org.openstreetmap.josm.gui.preferences.advanced |
Provides classes for handling advanced preferences.
|
org.openstreetmap.josm.gui.preferences.server |
Provides classes for handling connection preferences, including server authentication and proxy settings.
|
Modifier and Type | Field and Description |
---|---|
static Preferences |
Main.pref
Global application preferences
|
Modifier and Type | Field and Description |
---|---|
private Preferences |
CustomConfigurator.XMLCommandProcessor.mainPrefs |
Modifier and Type | Method and Description |
---|---|
static Preferences |
CustomConfigurator.clonePreferences(Preferences pref) |
private Preferences |
CustomConfigurator.XMLCommandProcessor.readPreferencesFromDOMElement(org.w3c.dom.Element item) |
Modifier and Type | Method and Description |
---|---|
private static void |
CustomConfigurator.PreferencesUtils.appendPreferences(Preferences fragment,
Preferences mainpref) |
static Preferences |
CustomConfigurator.clonePreferences(Preferences pref) |
private static void |
CustomConfigurator.PreferencesUtils.deletePreferenceKey(java.lang.String key,
Preferences pref) |
private static void |
CustomConfigurator.PreferencesUtils.deletePreferenceKeyByPattern(java.lang.String pattern,
Preferences pref) |
private static void |
CustomConfigurator.PreferencesUtils.deletePreferenceValues(Preferences fragment,
Preferences mainpref)
Delete items from
mainpref collections that match items from fragment collections. |
private static java.util.Collection<java.util.Collection<java.lang.String>> |
CustomConfigurator.PreferencesUtils.getArray(Preferences mainpref,
java.lang.String key,
boolean warnUnknownDefault) |
private static java.util.Collection<java.lang.String> |
CustomConfigurator.PreferencesUtils.getCollection(Preferences mainpref,
java.lang.String key,
boolean warnUnknownDefault) |
private static java.util.List<java.util.Map<java.lang.String,java.lang.String>> |
CustomConfigurator.PreferencesUtils.getListOfStructs(Preferences mainpref,
java.lang.String key,
boolean warnUnknownDefault) |
static void |
CustomConfigurator.PreferencesUtils.loadPrefsToJS(javax.script.ScriptEngine engine,
Preferences tmpPref,
java.lang.String whereToPutInJS,
boolean includeDefaults)
Convert preferences data structures to JavaScript object
|
private static void |
CustomConfigurator.PreferencesUtils.modifyPreferencesByScript(javax.script.ScriptEngine engine,
Preferences tmpPref,
java.lang.String js) |
static void |
CustomConfigurator.PreferencesUtils.readPrefsFromJS(javax.script.ScriptEngine engine,
Preferences tmpPref,
java.lang.String varInJS)
Convert JavaScript preferences object to preferences data structures
|
static void |
CustomConfigurator.readXML(java.io.File file,
Preferences prefs)
Read configuration script from XML file, modifying given preferences object
|
private static void |
CustomConfigurator.PreferencesUtils.replacePreferences(Preferences fragment,
Preferences mainpref) |
private static void |
CustomConfigurator.PreferencesUtils.showPrefs(Preferences tmpPref) |
Constructor and Description |
---|
XMLCommandProcessor(Preferences mainPrefs) |
Modifier and Type | Method and Description |
---|---|
static OAuthParameters |
OAuthParameters.createFromPreferences(Preferences pref)
Replies a set of parameters as defined in the preferences.
|
void |
OAuthParameters.rememberPreferences(Preferences pref)
Remembers the current values in the preferences
pref . |
Modifier and Type | Method and Description |
---|---|
void |
AdvancedOAuthPropertiesPanel.initFromPreferences(Preferences pref)
Initializes the panel from the values in the preferences
preferences . |
void |
FullyAutomaticAuthorizationUI.initFromPreferences(Preferences pref)
Initializes the panel with values from the preferences
|
void |
AbstractAuthorizationUI.initFromPreferences(Preferences pref)
Initializes the authorisation UI with preference values in
pref . |
void |
AdvancedOAuthPropertiesPanel.rememberPreferences(Preferences pref)
Remembers the current values in the preferences
pref . |
Modifier and Type | Field and Description |
---|---|
private Preferences |
ExportProfileAction.prefs |
Modifier and Type | Method and Description |
---|---|
private void |
AdvancedPreference.readPreferences(Preferences tmpPrefs) |
Constructor and Description |
---|
ExportProfileAction(Preferences prefs,
java.lang.String schemaKey,
java.lang.String prefPattern)
Constructs a new
ExportProfileAction . |
Modifier and Type | Method and Description |
---|---|
void |
OAuthAccessTokenHolder.init(Preferences pref,
CredentialsAgent cm)
Initializes the content of this holder from the Access Token managed by the
credential manager.
|
void |
OAuthAccessTokenHolder.save(Preferences preferences,
CredentialsAgent cm)
Saves the content of this holder to the preferences and a credential store managed
by a credential manager.
|