Uses of Class
jmri.profile.Profile
Packages that use Profile
Package
Description
Contains JMRI classes related to supporting JavaBeans and
PropertyChangeListeners.Provides implementations of various JMRI interfaces.
Support for implementing Warrants in JMRI.
Basic support for advanced programming, primarily used by DecoderPro.
Interfaces and implementations for system-specific code.
Provides implementations of various JMRI managers.
JMRI profile management.
Interfaces that can be implemented outside the JMRI.jar file to implement new
behavior in JMRI.
Provides small Swing-based tool and utility classes
for JMRI basic forms.
Contains various utilities classes that are
useful across the entire
JMRI library structure.
Provides a unique network identity for JMRI instances.
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 a Preferences
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.Provides utilities and classes for Zeroconf/Bonjour networking.
-
Uses of Profile in apps.systemconsole
Methods in apps.systemconsole with parameters of type ProfileModifier and TypeMethodDescriptionSystemConsolePreferencesManager.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 ProfileModifier and TypeMethodDescriptionPreferencesBean.getProfile()Get the profile associated with this PreferencesBean.Constructors in jmri.beans with parameters of type Profile -
Uses of Profile in jmri.implementation
Methods in jmri.implementation with parameters of type ProfileModifier and TypeMethodDescriptionvoidFileLocationsPreferences.initialize(Profile profile) voidFileLocationsPreferences.savePreferences(Profile profile) -
Uses of Profile in jmri.jmrit.consisttool
Methods in jmri.jmrit.consisttool with parameters of type ProfileModifier and TypeMethodDescriptionvoidConsistPreferencesManager.initialize(Profile profile) voidConsistPreferencesManager.savePreferences(Profile profile) -
Uses of Profile in jmri.jmrit.logix
Methods in jmri.jmrit.logix with parameters of type ProfileModifier and TypeMethodDescriptionvoidWarrantPreferences.initialize(Profile profile) voidWarrantPreferences.savePreferences(Profile profile) -
Uses of Profile in jmri.jmrit.roster
Methods in jmri.jmrit.roster with parameters of type ProfileModifier and TypeMethodDescriptionRosterConfigManager.getDefaultOwner(Profile profile) Get the default owner for the specified profile.RosterConfigManager.getDirectory(Profile profile) Get the roster directory for the specified profile.static RosterGet the roster for the specified profile.Get the roster for the profile.voidRosterConfigManager.initialize(Profile profile) voidRosterConfigManager.savePreferences(Profile profile) voidRosterConfigManager.setDefaultOwner(Profile profile, String defaultOwner) Set the default owner for the specified profile.voidRosterConfigManager.setDirectory(Profile profile, String directory) Set the roster directory for the specified profile.Set the roster for the profile. -
Uses of Profile in jmri.jmrit.symbolicprog
Methods in jmri.jmrit.symbolicprog with parameters of type ProfileModifier and TypeMethodDescriptionvoidProgrammerConfigManager.initialize(Profile profile) voidProgrammerConfigManager.savePreferences(Profile profile) -
Uses of Profile in jmri.jmrix
Methods in jmri.jmrix with parameters of type ProfileModifier and TypeMethodDescriptionvoidConnectionConfigManager.initialize(Profile profile) voidConnectionConfigManager.savePreferences(Profile profile) -
Uses of Profile in jmri.managers
Methods in jmri.managers with parameters of type ProfileModifier and TypeMethodDescriptionLoad into InstanceManagervoidManagerDefaultSelector.initialize(Profile profile) booleanManagerDefaultSelector.isPreferencesValid(Profile profile) voidManagerDefaultSelector.savePreferences(Profile profile) -
Uses of Profile in jmri.profile
Subclasses of Profile in jmri.profileMethods in jmri.profile that return ProfileModifier and TypeMethodDescriptionProfileManager.createDefaultProfile()Create a default profile if no profiles exist.ProfileManager.getActiveProfile()Get theProfilethat is currently in use.ProfileListModel.getElementAt(int index) ProfileManager.getNextActiveProfile()Profile[]ProfileManager.getProfiles()Get an array of enabledProfileobjects.ProfileManager.getProfiles(int index) Get the enabledProfileat index.static ProfileProfileManager.getStartingProfile()Get the active profile.static ProfileProfileManagerDialog.getStartingProfile(Frame f) Get the active profile or display a dialog to prompt the user for it.ProfileManager.migrateConfigToProfile(File config, 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 ProfileModifier and TypeMethodDescriptionProfileManager.getAllProfiles()Get an ArrayList ofProfileobjects.Methods in jmri.profile with parameters of type ProfileModifier and TypeMethodDescriptionprotected voidProfileManager.addProfile(Profile profile) intstatic voidCopy 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, 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 FileProfileUtils.getCacheDirectory(Profile project, Class<?> owner) Get the local cache directory for the given profile.static PreferencesProfileUtils.getPreferences(Profile project, 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, 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 ProfileModifierConstructorDescriptionProfileConfiguration(Profile project) ProfileProperties(Profile project) -
Uses of Profile in jmri.server.web.app
Methods in jmri.server.web.app with parameters of type ProfileModifier and TypeMethodDescriptionWebAppManager.getAngularDependencies(Profile profile, Locale locale) WebAppManager.getAngularRoutes(Profile profile, Locale locale) WebAppManager.getAngularSources(Profile profile, Locale locale) WebAppManager.getHelpMenuItems(Profile profile, Locale locale) WebAppManager.getNavigation(Profile profile, Locale locale) WebAppManager.getPreloadedTranslations(Profile profile, Locale locale) WebAppManager.getScriptTags(Profile profile) WebAppManager.getStyleTags(Profile profile) WebAppManager.getUserMenuItems(Profile profile, Locale locale) voidWebAppManager.initialize(Profile profile) voidWebAppManager.savePreferences(Profile profile) -
Uses of Profile in jmri.spi
Modifier and TypeMethodDescriptionPreferencesManager.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 ProfileModifier and TypeMethodDescriptionvoidJmriJTablePersistenceManager.initialize(Profile profile) voidJmriJTablePersistenceManager.savePreferences(Profile profile) -
Uses of Profile in jmri.util
Modifier and TypeMethodDescriptionstatic StringFileUtil.getAbsoluteFilename(Profile profile, String path) Convert a portable filename into an absolute filename.FileUtilSupport.getAbsoluteFilename(Profile profile, String path) Convert a portable filename into an absolute filename.static StringFileUtil.getExternalFilename(Profile profile, String pName) Get the resource file corresponding to a name.FileUtilSupport.getExternalFilename(Profile profile, String pName) Get the resource file corresponding to a name.static FileGet theFilethat path refers to.Get theFilethat path refers to.static StringFileUtil.getPortableFilename(Profile profile, File file) Convert a File object's path to our preferred storage form.static StringFileUtil.getPortableFilename(Profile profile, File file, boolean ignoreUserFilesPath, boolean ignoreProfilePath) Convert a File object's path to our preferred storage form.static StringFileUtil.getPortableFilename(Profile profile, String filename) Convert a filename string to our preferred storage form.static StringFileUtil.getPortableFilename(Profile profile, String filename, boolean ignoreUserFilesPath, boolean ignoreProfilePath) Convert a filename string to our preferred storage form.FileUtilSupport.getPortableFilename(Profile profile, File file) Convert a File object's path to our preferred storage form.FileUtilSupport.getPortableFilename(Profile profile, File file, boolean ignoreUserFilesPath, boolean ignoreProfilePath) Convert a File object's path to our preferred storage form.FileUtilSupport.getPortableFilename(Profile profile, String filename) Convert a filename string to our preferred storage form.FileUtilSupport.getPortableFilename(Profile profile, String filename, boolean ignoreUserFilesPath, boolean ignoreProfilePath) Convert a filename string to our preferred storage form.static StringFileUtil.getProfilePath(Profile profile) Get the profile directory.FileUtilSupport.getProfilePath(Profile profile) Get the profile directory.static StringFileUtil.getScriptsPath(Profile profile) Get the path to the scripts directory.FileUtilSupport.getScriptsPath(Profile profile) Get the path to the scripts directory.static StringFileUtil.getUserFilesPath(Profile profile) Get the user's files directory.FileUtilSupport.getUserFilesPath(Profile profile) Get the user's files directory.static voidFileUtil.setScriptsPath(Profile profile, String path) Set the path to python scripts.voidFileUtilSupport.setScriptsPath(Profile profile, String path) Set the path to python scripts.static voidFileUtil.setUserFilesPath(Profile profile, String path) Set the user's files directory.voidFileUtilSupport.setUserFilesPath(Profile profile, String path) Set the user's files directory. -
Uses of Profile in jmri.util.gui
Methods in jmri.util.gui with parameters of type ProfileModifier and TypeMethodDescriptionGuiLafPreferencesManager.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 ProfileModifier and TypeMethodDescriptionstatic 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 ProfileMethods in jmri.util.prefs with parameters of type ProfileModifier and TypeMethodDescriptionprotected voidAbstractPreferencesManager.addInitializationException(Profile profile, 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.AbstractPreferencesManager.getInitializationExceptions(Profile profile) Get the set of exceptions thrown during initialization for the provided Profile.static PreferencesJmriPreferencesProvider.getPreferences(Profile project, Class<?> clazz, boolean shared) Get thePreferencesfor the specified class in the specified profile.static PreferencesJmriPreferencesProvider.getPreferences(Profile project, Package pkg, boolean shared) Get thePreferencesfor the specified package in the specified profile.static PreferencesJmriPreferencesProvider.getPreferences(Profile project, 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, String message) Require that instances of the specified classes have initialized correctly.protected voidAbstractPreferencesManager.requiresNoInitializedWithExceptions(Profile profile, Set<Class<? extends PreferencesManager>> classes, 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 ProfileModifierConstructorDescriptionAbstractConfigurationProvider(Profile project) (package private)JmriConfigurationProvider(Profile project) (package private) -
Uses of Profile in jmri.util.startup
Methods in jmri.util.startup with parameters of type ProfileModifier and TypeMethodDescriptionvoidStartupActionsManager.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 ProfileConstructors in jmri.util.zeroconf with parameters of type Profile