Uses of Class
jmri.profile.Profile
-
Packages that use Profile Package Description apps.systemconsole jmri.beans Contains JMRI classes related to supporting JavaBeans andPropertyChangeListeners.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:JmriConfigurationProviderComplex preferences within an XML element provided by the object storing and retrieving the element.JmriPreferencesProviderSimple preferences within aPreferencesconstruct.JmriUserInterfaceConfigurationProviderComplex 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)voidSystemConsolePreferencesManager. initialize(Profile profile)booleanSystemConsolePreferencesManager. isInitialized(Profile profile)booleanSystemConsolePreferencesManager. isInitializedWithExceptions(Profile profile)voidSystemConsolePreferencesManager. savePreferences(Profile profile) -
Uses of Profile in jmri.beans
Methods in jmri.beans that return Profile Modifier and Type Method Description ProfilePreferencesBean. 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 voidFileLocationsPreferences. initialize(Profile profile)voidFileLocationsPreferences. 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 voidConsistPreferencesManager. initialize(Profile profile)voidConsistPreferencesManager. 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 voidWarrantPreferences. initialize(Profile profile)voidWarrantPreferences. 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.StringRosterConfigManager. getDefaultOwner(Profile profile)Get the default owner for the specified profile.java.lang.StringRosterConfigManager. getDirectory(Profile profile)Get the roster directory for the specified profile.static RosterRoster. getRoster(Profile profile)Get the roster for the specified profile.RosterRosterConfigManager. getRoster(Profile profile)Get the roster for the profile.voidRosterConfigManager. initialize(Profile profile)voidRosterConfigManager. savePreferences(Profile profile)voidRosterConfigManager. setDefaultOwner(Profile profile, java.lang.String defaultOwner)Set the default owner for the specified profile.voidRosterConfigManager. setDirectory(Profile profile, java.lang.String directory)Set the roster directory for the specified profile.RosterRosterConfigManager. 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 voidProgrammerConfigManager. initialize(Profile profile)voidProgrammerConfigManager. savePreferences(Profile profile) -
Uses of Profile in jmri.jmrix
Methods in jmri.jmrix with parameters of type Profile Modifier and Type Method Description voidConnectionConfigManager. initialize(Profile profile)voidConnectionConfigManager. savePreferences(Profile profile) -
Uses of Profile in jmri.managers
Methods in jmri.managers with parameters of type Profile Modifier and Type Method Description InitializationExceptionManagerDefaultSelector. configure(Profile profile)Load into InstanceManagervoidManagerDefaultSelector. initialize(Profile profile)booleanManagerDefaultSelector. isPreferencesValid(Profile profile)voidManagerDefaultSelector. savePreferences(Profile profile) -
Uses of Profile in jmri.profile
Subclasses of Profile in jmri.profile Modifier and Type Class Description classNullProfileAn empty JMRI application profile.Methods in jmri.profile that return Profile Modifier and Type Method Description ProfileProfileManager. createDefaultProfile()Create a default profile if no profiles exist.ProfileProfileManager. getActiveProfile()Get theProfilethat is currently in use.ProfileProfileListModel. getElementAt(int index)ProfileProfileManager. getNextActiveProfile()Profile[]ProfileManager. getProfiles()Get an array of enabledProfileobjects.ProfileProfileManager. getProfiles(int index)Get the enabledProfileat index.static ProfileProfileManager. getStartingProfile()Get the active profile.static ProfileProfileManagerDialog. getStartingProfile(java.awt.Frame f)Get the active profile or display a dialog to prompt the user for it.ProfileProfileManager. 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 ofProfileobjects.Methods in jmri.profile with parameters of type Profile Modifier and Type Method Description protected voidProfileManager. addProfile(Profile profile)intProfile. compareTo(Profile o)static voidProfileUtils. copy(Profile source, Profile destination)Copy one profile configuration to another profile.static booleanProfileUtils. 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.voidProfileManager. export(Profile profile, java.io.File target, boolean exportExternalUserFiles, boolean exportExternalRoster)Export theProfileto a zip file.static AuxiliaryConfigurationProfileUtils. getAuxiliaryConfiguration(Profile project)Get the XMl configuration container for a given configuration profile.static java.io.FileProfileUtils. getCacheDirectory(Profile project, java.lang.Class<?> owner)Get the local cache directory for the given profile.static java.util.prefs.PreferencesProfileUtils. getPreferences(Profile project, java.lang.Class<?> clazz, boolean shared)Get the preferences needed by a class for a given configuration profile.static AuxiliaryConfigurationProfileUtils. getUserInterfaceConfiguration(Profile project)Get the XMl configuration container for a given configuration profile's user interface state.(package private) voidProfileManager. profileNameChange(Profile profile, java.lang.String oldName)protected voidProfileManager. removeProfile(Profile profile)protected voidProfileManager. saveActiveProfile(Profile profile, boolean autoStart)voidProfileManager. setActiveProfile(Profile profile)Set theProfileto use.protected voidProfileManager. setNextActiveProfile(Profile profile)voidProfileManager. setProfiles(Profile profile, int index)Set the enabledProfileat index.(package private) voidAddProfileDialog. 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.StringWebAppManager. getAngularDependencies(Profile profile, java.util.Locale locale)java.lang.StringWebAppManager. getAngularRoutes(Profile profile, java.util.Locale locale)java.lang.StringWebAppManager. getAngularSources(Profile profile, java.util.Locale locale)java.lang.StringWebAppManager. getHelpMenuItems(Profile profile, java.util.Locale locale)java.lang.StringWebAppManager. getNavigation(Profile profile, java.util.Locale locale)java.util.Set<java.net.URI>WebAppManager. getPreloadedTranslations(Profile profile, java.util.Locale locale)java.lang.StringWebAppManager. getScriptTags(Profile profile)java.lang.StringWebAppManager. getStyleTags(Profile profile)java.lang.StringWebAppManager. getUserMenuItems(Profile profile, java.util.Locale locale)voidWebAppManager. initialize(Profile profile)voidWebAppManager. 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.voidPreferencesManager. initialize(Profile profile)Initialize the PreferencesManager with preferences associated with the provided Profile.booleanPreferencesManager. isInitialized(Profile profile)Test if the PreferencesManager is initialized without errors for the provided Profile.booleanPreferencesManager. isInitializedWithExceptions(Profile profile)Test if the PreferencesManager is initialized, but threw anInitializationExceptionduring initialization, for the provided Profile.voidPreferencesManager. 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 voidJmriJTablePersistenceManager. initialize(Profile profile)voidJmriJTablePersistenceManager. savePreferences(Profile profile) -
Uses of Profile in jmri.util
Methods in jmri.util that return Profile Modifier and Type Method Description ProfileFileUtil.Property. getKey()Methods in jmri.util with parameters of type Profile Modifier and Type Method Description static java.lang.StringFileUtil. getAbsoluteFilename(Profile profile, java.lang.String path)Convert a portable filename into an absolute filename.java.lang.StringFileUtilSupport. getAbsoluteFilename(Profile profile, java.lang.String path)Convert a portable filename into an absolute filename.static java.lang.StringFileUtil. getExternalFilename(Profile profile, java.lang.String pName)Get the resource file corresponding to a name.java.lang.StringFileUtilSupport. getExternalFilename(Profile profile, java.lang.String pName)Get the resource file corresponding to a name.static java.io.FileFileUtil. getFile(Profile profile, java.lang.String path)Get theFilethat path refers to.java.io.FileFileUtilSupport. getFile(Profile profile, java.lang.String path)Get theFilethat path refers to.static java.lang.StringFileUtil. getPortableFilename(Profile profile, java.io.File file)Convert a File object's path to our preferred storage form.static java.lang.StringFileUtil. 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.StringFileUtil. getPortableFilename(Profile profile, java.lang.String filename)Convert a filename string to our preferred storage form.static java.lang.StringFileUtil. getPortableFilename(Profile profile, java.lang.String filename, boolean ignoreUserFilesPath, boolean ignoreProfilePath)Convert a filename string to our preferred storage form.java.lang.StringFileUtilSupport. getPortableFilename(Profile profile, java.io.File file)Convert a File object's path to our preferred storage form.java.lang.StringFileUtilSupport. getPortableFilename(Profile profile, java.io.File file, boolean ignoreUserFilesPath, boolean ignoreProfilePath)Convert a File object's path to our preferred storage form.java.lang.StringFileUtilSupport. getPortableFilename(Profile profile, java.lang.String filename)Convert a filename string to our preferred storage form.java.lang.StringFileUtilSupport. getPortableFilename(Profile profile, java.lang.String filename, boolean ignoreUserFilesPath, boolean ignoreProfilePath)Convert a filename string to our preferred storage form.static java.lang.StringFileUtil. getProfilePath(Profile profile)Get the profile directory.java.lang.StringFileUtilSupport. getProfilePath(Profile profile)Get the profile directory.static java.lang.StringFileUtil. getScriptsPath(Profile profile)Get the path to the scripts directory.java.lang.StringFileUtilSupport. getScriptsPath(Profile profile)Get the path to the scripts directory.static java.lang.StringFileUtil. getUserFilesPath(Profile profile)Get the user's files directory.java.lang.StringFileUtilSupport. getUserFilesPath(Profile profile)Get the user's files directory.static voidFileUtil. setScriptsPath(Profile profile, java.lang.String path)Set the path to python scripts.voidFileUtilSupport. setScriptsPath(Profile profile, java.lang.String path)Set the path to python scripts.static voidFileUtil. setUserFilesPath(Profile profile, java.lang.String path)Set the user's files directory.voidFileUtilSupport. 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)voidGuiLafPreferencesManager. initialize(Profile profile)booleanGuiLafPreferencesManager. isInitialized(Profile profile)booleanGuiLafPreferencesManager. isInitializedWithExceptions(Profile profile)voidGuiLafPreferencesManager. savePreferences(Profile profile)static voidGuiLafPreferencesManager. 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.StringNodeIdentity. 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 ProfileAbstractConfigurationProvider. projectMethods in jmri.util.prefs with parameters of type Profile Modifier and Type Method Description protected voidAbstractPreferencesManager. addInitializationException(Profile profile, java.lang.Exception exception)Add an error to the list of exceptions.(package private) static JmriConfigurationProviderJmriConfigurationProvider. findProvider(Profile project)Get the JmriPrefererncesProvider for the specified profile.(package private) static JmriUserInterfaceConfigurationProviderJmriUserInterfaceConfigurationProvider. findProvider(Profile project)Get the JmriPrefererncesProvider for the specified profile.static AuxiliaryConfigurationJmriConfigurationProvider. getConfiguration(Profile project)Get thePreferencesfor the specified class in the specified profile.static AuxiliaryConfigurationJmriUserInterfaceConfigurationProvider. getConfiguration(Profile project)Get thePreferencesfor 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.PreferencesJmriPreferencesProvider. getPreferences(Profile project, java.lang.Class<?> clazz, boolean shared)Get thePreferencesfor the specified class in the specified profile.static java.util.prefs.PreferencesJmriPreferencesProvider. getPreferences(Profile project, java.lang.Package pkg, boolean shared)Get thePreferencesfor the specified package in the specified profile.static java.util.prefs.PreferencesJmriPreferencesProvider. getPreferences(Profile project, java.lang.String pkg, boolean shared)Get thePreferencesfor the specified package in the specified profile.booleanAbstractPreferencesManager. isInitialized(Profile profile)Test if the PreferencesManager is initialized without errors for the provided Profile.booleanAbstractPreferencesManager. isInitializedWithExceptions(Profile profile)Test if the PreferencesManager is initialized, but threw anInitializationExceptionduring initialization, for the provided Profile.protected booleanAbstractPreferencesManager. isInitializing(Profile profile)Test if the manager is being initialized.protected voidAbstractPreferencesManager. requiresNoInitializedWithExceptions(Profile profile, java.lang.String message)Require that instances of the specified classes have initialized correctly.protected voidAbstractPreferencesManager. 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 voidAbstractPreferencesManager. setInitialized(Profile profile, boolean initialized)Set the initialized state for the given profile.protected voidAbstractPreferencesManager. 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 voidStartupActionsManager. initialize(Profile profile)Initialize the PreferencesManager with preferences associated with the provided Profile.voidStartupActionsManager. 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 voidZeroConfPreferences. savePreferences(Profile profile)Constructors in jmri.util.zeroconf with parameters of type Profile Constructor Description ZeroConfPreferences(Profile profile)
-