Class JmriUserInterfaceConfigurationProvider

java.lang.Object
jmri.util.prefs.AbstractConfigurationProvider
jmri.util.prefs.JmriUserInterfaceConfigurationProvider

public final class JmriUserInterfaceConfigurationProvider
extends AbstractConfigurationProvider
Provides a general purpose XML element storage mechanism for the storage of user interface configuration.

There are two configuration files per Profile and NodeIdentity, both stored in the directory profile:profile:

  • "user-interface.xml" preferences that are shared across multiple nodes for a single profile. An example of such a preference would be the Railroad Name preference.
  • <node-identity>/"user-interface.xml" preferences that are specific to the profile running on a specific host (<node-identity> is the identity returned by NodeIdentity.networkIdentity()). An example of such a preference would be a file location.

Non-profile specific configuration that applies to all profiles is stored in the file settings:preferences/"user-interface.xml".