Package jmri.managers

Class ManagerDefaultSelector

All Implemented Interfaces:
BeanInterface, PropertyChangeFirer, PropertyChangeProvider, JmriServiceProviderInterface, PreferencesManager

public class ManagerDefaultSelector
extends AbstractPreferencesManager
Records and executes a desired set of defaults for the JMRI InstanceManager and ProxyManagers.

Provided that a connection provides a default, this verifies, unless the per-profile property jmri-managers.allInternalDefaults is true, that a non-Internal connection (other than type None in the preferences window) is the default for at least one type of manager.

allInternalDefaults is preserved as a preference when set here, but setAllInternalDefaultsValid(boolean) is not (originally) invoked from the GUI.

Since:
2.9.4
See Also:
SystemConnectionMemo.provides(java.lang.Class)