Uses of Class
jmri.profile.Profile
-
Packages that use Profile Package Description apps.systemconsole jmri.beans Contains JMRI classes related to supporting JavaBeans andPropertyChangeListener
s.jmri.implementation Provides implementations of various JMRI interfaces.jmri.jmrit.consisttool jmri.jmrit.logix Support for implementing Warrants in JMRI.jmri.jmrit.roster jmri.jmrit.symbolicprog Basic support for advanced programming, primarily used by DecoderPro.jmri.jmrix Interfaces and implementations for system-specific code.jmri.managers Provides implementations of various JMRI managers.jmri.profile JMRI profile management.jmri.server.web.app jmri.spi Interfaces that can be implemented outside the JMRI.jar file to implement new behavior in JMRI.jmri.swing Provides small Swing-based tool and utility classes for JMRI basic forms.jmri.util Contains various utilities classes that are useful across the entire JMRI library structure.jmri.util.gui jmri.util.node Provides a unique network identity for JMRI instances.jmri.util.prefs This package provides two mechanisms for storing preferences and one mechanism for storing user interface state within a JMRI profile:JmriConfigurationProvider
Complex preferences within an XML element provided by the object storing and retrieving the element.JmriPreferencesProvider
Simple preferences within aPreferences
construct.JmriUserInterfaceConfigurationProvider
Complex user interface state within an XML element provided by the object storing and retrieving the element. These three classes provide arbitrary read/write access to the underlying storage, such that writing a users preferences does not require any part of a JMRI application have knowledge of every object that manages users preferences.jmri.util.startup jmri.util.zeroconf Provides utilities and classes for Zeroconf/Bonjour networking. -
-
Uses of Profile in apps.systemconsole
Methods in apps.systemconsole with parameters of type Profile Modifier and Type Method Description java.util.List<java.lang.Exception>
SystemConsolePreferencesManager. getInitializationExceptions(Profile profile)
void
SystemConsolePreferencesManager. initialize(Profile profile)
boolean
SystemConsolePreferencesManager. isInitialized(Profile profile)
boolean
SystemConsolePreferencesManager. isInitializedWithExceptions(Profile profile)
void
SystemConsolePreferencesManager. savePreferences(Profile profile)
-
Uses of Profile in jmri.beans
Methods in jmri.beans that return Profile Modifier and Type Method Description Profile
PreferencesBean. getProfile()
Get the profile associated with this PreferencesBean.Constructors in jmri.beans with parameters of type Profile Constructor Description PreferencesBean(Profile profile)
Create the PreferencesBean. -
Uses of Profile in jmri.implementation
Methods in jmri.implementation with parameters of type Profile Modifier and Type Method Description void
FileLocationsPreferences. initialize(Profile profile)
void
FileLocationsPreferences. savePreferences(Profile profile)
-
Uses of Profile in jmri.jmrit.consisttool
Methods in jmri.jmrit.consisttool with parameters of type Profile Modifier and Type Method Description void
ConsistPreferencesManager. initialize(Profile profile)
void
ConsistPreferencesManager. savePreferences(Profile profile)
-
Uses of Profile in jmri.jmrit.logix
Methods in jmri.jmrit.logix with parameters of type Profile Modifier and Type Method Description void
WarrantPreferences. initialize(Profile profile)
void
WarrantPreferences. savePreferences(Profile profile)
-
Uses of Profile in jmri.jmrit.roster
Methods in jmri.jmrit.roster with parameters of type Profile Modifier and Type Method Description java.lang.String
RosterConfigManager. getDefaultOwner(Profile profile)
Get the default owner for the specified profile.java.lang.String
RosterConfigManager. getDirectory(Profile profile)
Get the roster directory for the specified profile.static Roster
Roster. getRoster(Profile profile)
Get the roster for the specified profile.Roster
RosterConfigManager. getRoster(Profile profile)
Get the roster for the profile.void
RosterConfigManager. initialize(Profile profile)
void
RosterConfigManager. savePreferences(Profile profile)
void
RosterConfigManager. setDefaultOwner(Profile profile, java.lang.String defaultOwner)
Set the default owner for the specified profile.void
RosterConfigManager. setDirectory(Profile profile, java.lang.String directory)
Set the roster directory for the specified profile.Roster
RosterConfigManager. setRoster(Profile profile, Roster roster)
Set the roster for the profile. -
Uses of Profile in jmri.jmrit.symbolicprog
Methods in jmri.jmrit.symbolicprog with parameters of type Profile Modifier and Type Method Description void
ProgrammerConfigManager. initialize(Profile profile)
void
ProgrammerConfigManager. savePreferences(Profile profile)
-
Uses of Profile in jmri.jmrix
Methods in jmri.jmrix with parameters of type Profile Modifier and Type Method Description void
ConnectionConfigManager. initialize(Profile profile)
void
ConnectionConfigManager. savePreferences(Profile profile)
-
Uses of Profile in jmri.managers
Methods in jmri.managers with parameters of type Profile Modifier and Type Method Description InitializationException
ManagerDefaultSelector. configure(Profile profile)
Load into InstanceManagervoid
ManagerDefaultSelector. initialize(Profile profile)
boolean
ManagerDefaultSelector. isPreferencesValid(Profile profile)
void
ManagerDefaultSelector. savePreferences(Profile profile)
-
Uses of Profile in jmri.profile
Subclasses of Profile in jmri.profile Modifier and Type Class Description class
NullProfile
An empty JMRI application profile.Methods in jmri.profile that return Profile Modifier and Type Method Description Profile
ProfileManager. createDefaultProfile()
Create a default profile if no profiles exist.Profile
ProfileManager. getActiveProfile()
Get theProfile
that is currently in use.Profile
ProfileListModel. getElementAt(int index)
Profile
ProfileManager. getNextActiveProfile()
Profile[]
ProfileManager. getProfiles()
Get an array of enabledProfile
objects.Profile
ProfileManager. getProfiles(int index)
Get the enabledProfile
at index.static Profile
ProfileManager. getStartingProfile()
Get the active profile.static Profile
ProfileManagerDialog. getStartingProfile(java.awt.Frame f)
Get the active profile or display a dialog to prompt the user for it.Profile
ProfileManager. migrateConfigToProfile(java.io.File config, java.lang.String name)
Copy a JMRI configuration not in a profile and its user preferences to a profile.Methods in jmri.profile that return types with arguments of type Profile Modifier and Type Method Description java.util.List<Profile>
ProfileManager. getAllProfiles()
Get an ArrayList ofProfile
objects.Methods in jmri.profile with parameters of type Profile Modifier and Type Method Description protected void
ProfileManager. addProfile(Profile profile)
int
Profile. compareTo(Profile o)
static void
ProfileUtils. copy(Profile source, Profile destination)
Copy one profile configuration to another profile.static boolean
ProfileUtils. copyPrivateContentToCurrentIdentity(Profile profile)
Copy the most recently modified former identity, if any, for the current computer in the given profile to the current storage identity of the current computer for the given profile.void
ProfileManager. export(Profile profile, java.io.File target, boolean exportExternalUserFiles, boolean exportExternalRoster)
Export theProfile
to a zip file.static AuxiliaryConfiguration
ProfileUtils. getAuxiliaryConfiguration(Profile project)
Get the XMl configuration container for a given configuration profile.static java.io.File
ProfileUtils. getCacheDirectory(Profile project, java.lang.Class<?> owner)
Get the local cache directory for the given profile.static java.util.prefs.Preferences
ProfileUtils. getPreferences(Profile project, java.lang.Class<?> clazz, boolean shared)
Get the preferences needed by a class for a given configuration profile.static AuxiliaryConfiguration
ProfileUtils. getUserInterfaceConfiguration(Profile project)
Get the XMl configuration container for a given configuration profile's user interface state.(package private) void
ProfileManager. profileNameChange(Profile profile, java.lang.String oldName)
protected void
ProfileManager. removeProfile(Profile profile)
protected void
ProfileManager. saveActiveProfile(Profile profile, boolean autoStart)
void
ProfileManager. setActiveProfile(Profile profile)
Set theProfile
to use.protected void
ProfileManager. setNextActiveProfile(Profile profile)
void
ProfileManager. setProfiles(Profile profile, int index)
Set the enabledProfile
at index.(package private) void
AddProfileDialog. setSourceProfile(Profile profile)
Constructors in jmri.profile with parameters of type Profile Constructor Description ProfileConfiguration(Profile project)
ProfileProperties(Profile project)
-
Uses of Profile in jmri.server.web.app
Methods in jmri.server.web.app with parameters of type Profile Modifier and Type Method Description java.lang.String
WebAppManager. getAngularDependencies(Profile profile, java.util.Locale locale)
java.lang.String
WebAppManager. getAngularRoutes(Profile profile, java.util.Locale locale)
java.lang.String
WebAppManager. getAngularSources(Profile profile, java.util.Locale locale)
java.lang.String
WebAppManager. getHelpMenuItems(Profile profile, java.util.Locale locale)
java.lang.String
WebAppManager. getNavigation(Profile profile, java.util.Locale locale)
java.util.Set<java.net.URI>
WebAppManager. getPreloadedTranslations(Profile profile, java.util.Locale locale)
java.lang.String
WebAppManager. getScriptTags(Profile profile)
java.lang.String
WebAppManager. getStyleTags(Profile profile)
java.lang.String
WebAppManager. getUserMenuItems(Profile profile, java.util.Locale locale)
void
WebAppManager. initialize(Profile profile)
void
WebAppManager. savePreferences(Profile profile)
-
Uses of Profile in jmri.spi
Methods in jmri.spi with parameters of type Profile Modifier and Type Method Description java.util.List<java.lang.Exception>
PreferencesManager. getInitializationExceptions(Profile profile)
Get the set of exceptions thrown during initialization for the provided Profile.void
PreferencesManager. initialize(Profile profile)
Initialize the PreferencesManager with preferences associated with the provided Profile.boolean
PreferencesManager. isInitialized(Profile profile)
Test if the PreferencesManager is initialized without errors for the provided Profile.boolean
PreferencesManager. isInitializedWithExceptions(Profile profile)
Test if the PreferencesManager is initialized, but threw anInitializationException
during initialization, for the provided Profile.void
PreferencesManager. savePreferences(Profile profile)
Save the preferences that this provider manages for the provided Profile. -
Uses of Profile in jmri.swing
Methods in jmri.swing with parameters of type Profile Modifier and Type Method Description void
JmriJTablePersistenceManager. initialize(Profile profile)
void
JmriJTablePersistenceManager. savePreferences(Profile profile)
-
Uses of Profile in jmri.util
Methods in jmri.util that return Profile Modifier and Type Method Description Profile
FileUtil.Property. getKey()
Methods in jmri.util with parameters of type Profile Modifier and Type Method Description static java.lang.String
FileUtil. getAbsoluteFilename(Profile profile, java.lang.String path)
Convert a portable filename into an absolute filename.java.lang.String
FileUtilSupport. getAbsoluteFilename(Profile profile, java.lang.String path)
Convert a portable filename into an absolute filename.static java.lang.String
FileUtil. getExternalFilename(Profile profile, java.lang.String pName)
Get the resource file corresponding to a name.java.lang.String
FileUtilSupport. getExternalFilename(Profile profile, java.lang.String pName)
Get the resource file corresponding to a name.static java.io.File
FileUtil. getFile(Profile profile, java.lang.String path)
Get theFile
that path refers to.java.io.File
FileUtilSupport. getFile(Profile profile, java.lang.String path)
Get theFile
that path refers to.static java.lang.String
FileUtil. getPortableFilename(Profile profile, java.io.File file)
Convert a File object's path to our preferred storage form.static java.lang.String
FileUtil. getPortableFilename(Profile profile, java.io.File file, boolean ignoreUserFilesPath, boolean ignoreProfilePath)
Convert a File object's path to our preferred storage form.static java.lang.String
FileUtil. getPortableFilename(Profile profile, java.lang.String filename)
Convert a filename string to our preferred storage form.static java.lang.String
FileUtil. getPortableFilename(Profile profile, java.lang.String filename, boolean ignoreUserFilesPath, boolean ignoreProfilePath)
Convert a filename string to our preferred storage form.java.lang.String
FileUtilSupport. getPortableFilename(Profile profile, java.io.File file)
Convert a File object's path to our preferred storage form.java.lang.String
FileUtilSupport. getPortableFilename(Profile profile, java.io.File file, boolean ignoreUserFilesPath, boolean ignoreProfilePath)
Convert a File object's path to our preferred storage form.java.lang.String
FileUtilSupport. getPortableFilename(Profile profile, java.lang.String filename)
Convert a filename string to our preferred storage form.java.lang.String
FileUtilSupport. getPortableFilename(Profile profile, java.lang.String filename, boolean ignoreUserFilesPath, boolean ignoreProfilePath)
Convert a filename string to our preferred storage form.static java.lang.String
FileUtil. getProfilePath(Profile profile)
Get the profile directory.java.lang.String
FileUtilSupport. getProfilePath(Profile profile)
Get the profile directory.static java.lang.String
FileUtil. getScriptsPath(Profile profile)
Get the path to the scripts directory.java.lang.String
FileUtilSupport. getScriptsPath(Profile profile)
Get the path to the scripts directory.static java.lang.String
FileUtil. getUserFilesPath(Profile profile)
Get the user's files directory.java.lang.String
FileUtilSupport. getUserFilesPath(Profile profile)
Get the user's files directory.static void
FileUtil. setScriptsPath(Profile profile, java.lang.String path)
Set the path to python scripts.void
FileUtilSupport. setScriptsPath(Profile profile, java.lang.String path)
Set the path to python scripts.static void
FileUtil. setUserFilesPath(Profile profile, java.lang.String path)
Set the user's files directory.void
FileUtilSupport. setUserFilesPath(Profile profile, java.lang.String path)
Set the user's files directory.Constructors in jmri.util with parameters of type Profile Constructor Description Property(Profile key, java.lang.String value)
-
Uses of Profile in jmri.util.gui
Methods in jmri.util.gui with parameters of type Profile Modifier and Type Method Description java.util.List<java.lang.Exception>
GuiLafPreferencesManager. getInitializationExceptions(Profile profile)
void
GuiLafPreferencesManager. initialize(Profile profile)
boolean
GuiLafPreferencesManager. isInitialized(Profile profile)
boolean
GuiLafPreferencesManager. isInitializedWithExceptions(Profile profile)
void
GuiLafPreferencesManager. savePreferences(Profile profile)
static void
GuiLafPreferencesManager. setLocaleMinimally(Profile profile)
Stand-alone service routine to set the default Locale. -
Uses of Profile in jmri.util.node
Methods in jmri.util.node with parameters of type Profile Modifier and Type Method Description static java.lang.String
NodeIdentity. storageIdentity(Profile profile)
Return the node's current storage identity. -
Uses of Profile in jmri.util.prefs
Fields in jmri.util.prefs declared as Profile Modifier and Type Field Description protected Profile
AbstractConfigurationProvider. project
Methods in jmri.util.prefs with parameters of type Profile Modifier and Type Method Description protected void
AbstractPreferencesManager. addInitializationException(Profile profile, java.lang.Exception exception)
Add an error to the list of exceptions.(package private) static JmriConfigurationProvider
JmriConfigurationProvider. findProvider(Profile project)
Get the JmriPrefererncesProvider for the specified profile.(package private) static JmriUserInterfaceConfigurationProvider
JmriUserInterfaceConfigurationProvider. findProvider(Profile project)
Get the JmriPrefererncesProvider for the specified profile.static AuxiliaryConfiguration
JmriConfigurationProvider. getConfiguration(Profile project)
Get thePreferences
for the specified class in the specified profile.static AuxiliaryConfiguration
JmriUserInterfaceConfigurationProvider. getConfiguration(Profile project)
Get thePreferences
for the specified class in the specified profile.java.util.List<java.lang.Exception>
AbstractPreferencesManager. getInitializationExceptions(Profile profile)
Get the set of exceptions thrown during initialization for the provided Profile.static java.util.prefs.Preferences
JmriPreferencesProvider. getPreferences(Profile project, java.lang.Class<?> clazz, boolean shared)
Get thePreferences
for the specified class in the specified profile.static java.util.prefs.Preferences
JmriPreferencesProvider. getPreferences(Profile project, java.lang.Package pkg, boolean shared)
Get thePreferences
for the specified package in the specified profile.static java.util.prefs.Preferences
JmriPreferencesProvider. getPreferences(Profile project, java.lang.String pkg, boolean shared)
Get thePreferences
for the specified package in the specified profile.boolean
AbstractPreferencesManager. isInitialized(Profile profile)
Test if the PreferencesManager is initialized without errors for the provided Profile.boolean
AbstractPreferencesManager. isInitializedWithExceptions(Profile profile)
Test if the PreferencesManager is initialized, but threw anInitializationException
during initialization, for the provided Profile.protected boolean
AbstractPreferencesManager. isInitializing(Profile profile)
Test if the manager is being initialized.protected void
AbstractPreferencesManager. requiresNoInitializedWithExceptions(Profile profile, java.lang.String message)
Require that instances of the specified classes have initialized correctly.protected void
AbstractPreferencesManager. requiresNoInitializedWithExceptions(Profile profile, java.util.Set<java.lang.Class<? extends PreferencesManager>> classes, java.lang.String message)
Require that instances of the specified classes have initialized correctly.protected void
AbstractPreferencesManager. setInitialized(Profile profile, boolean initialized)
Set the initialized state for the given profile.protected void
AbstractPreferencesManager. setInitializing(Profile profile, boolean initializing)
Protect against circular attempts to initialize during initialization.Constructors in jmri.util.prefs with parameters of type Profile Constructor Description AbstractConfigurationProvider(Profile project)
JmriConfigurationProvider(Profile project)
JmriUserInterfaceConfigurationProvider(Profile project)
-
Uses of Profile in jmri.util.startup
Methods in jmri.util.startup with parameters of type Profile Modifier and Type Method Description void
StartupActionsManager. initialize(Profile profile)
Initialize the PreferencesManager with preferences associated with the provided Profile.void
StartupActionsManager. savePreferences(Profile profile)
-
Uses of Profile in jmri.util.zeroconf
Methods in jmri.util.zeroconf with parameters of type Profile Modifier and Type Method Description void
ZeroConfPreferences. savePreferences(Profile profile)
Constructors in jmri.util.zeroconf with parameters of type Profile Constructor Description ZeroConfPreferences(Profile profile)
-