Class CbusConfigurationManager
- All Implemented Interfaces:
Disposable
This file is part of JMRI.
JMRI is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation. See the "COPYING" file for a copy of this license.
JMRI is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
-
Nested Class Summary
Nested classes/interfaces inherited from class jmri.jmrix.can.ConfigurationManager
ConfigurationManager.ProgModeSwitch, ConfigurationManager.SubProtocol -
Field Summary
FieldsFields inherited from class jmri.jmrix.can.ConfigurationManager
adapterMemo, MERGCBUS, OPENLCB, RAWCAN, SPROGCBUS, TEST -
Constructor Summary
ConstructorsConstructorDescriptionCreate a new CbusConfigurationManager. -
Method Summary
Modifier and TypeMethodDescriptionvoidvoiddispose()Dispose of the ConfigurationManager<T> void<T> Tprotected ResourceBundle<T> TProvide a new Class instance.booleanTells which managers this class provides.Methods inherited from class jmri.jmrix.can.ConfigurationManager
getSystemOptions, setMERG, setOpenLCB, setSPROG
-
Field Details
-
consistManager
-
-
Constructor Details
-
CbusConfigurationManager
Create a new CbusConfigurationManager. A Supporting class to configure theCanSystemConnectionMemofor thejmri.jmrix.can.cbusclasses.- Parameters:
memo- Connection to configure.
-
-
Method Details
-
configureManagers
- Specified by:
configureManagersin classConfigurationManager
-
provides
Tells which managers this class provides. Get which managers this class provides.- Specified by:
providesin classConfigurationManager- Parameters:
type- Class type to check- Returns:
- true if supported; false if not
-
get
- Specified by:
getin classConfigurationManager
-
provide
Provide a new Class instance.NOT for general use outside of this class, although public so that classes like CbusEventTablePane can get a CbusEventTableDataModel when started.
If a class is NOT auto-created by the normal get, it can be provided with this method. Adds provided class to memo class object map, AND InstanceManager.
- Type Parameters:
T- class type.- Parameters:
T- class type.- Returns:
- class object, or null if unavailable.
-
disposeOf
-
dispose
Dispose of the ConfigurationManager- Specified by:
disposein interfaceDisposable- Specified by:
disposein classConfigurationManager
-
getActionModelResourceBundle
- Specified by:
getActionModelResourceBundlein classConfigurationManager
-