Package jmri.util.startup
Class StartupActionModelUtil
java.lang.Object
jmri.beans.UnboundBean
jmri.beans.Bean
jmri.util.startup.StartupActionModelUtil
- All Implemented Interfaces:
BeanInterface,PropertyChangeFirer,PropertyChangeProvider,Disposable
Maintain a list of actions that can be used by
AbstractActionModel and its descendants. This list is
populated by StartupActionFactory instances
registered with a ServiceLoader.-
Field Summary
Fields inherited from class jmri.beans.Bean
propertyChangeSupport -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddispose()Called when disposing of a disposable.getActionName(Class<?> clazz) getActionName(String className) Class<?>[]getClassName(String name) static StartupActionModelUtilGet the default StartupActionModelUtil instance, creating it if necessary.String[]getNames()getOverride(String name) booleanisSystemConnectionAction(Class<?> clazz) booleanisSystemConnectionAction(String className) Methods inherited from class jmri.beans.Bean
addPropertyChangeListener, addPropertyChangeListener, fireIndexedPropertyChange, fireIndexedPropertyChange, fireIndexedPropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getPropertyChangeListeners, getPropertyChangeListeners, isNotifyOnEDT, removePropertyChangeListener, removePropertyChangeListenerMethods inherited from class jmri.beans.UnboundBean
getIndexedProperty, getProperty, getPropertyNames, hasIndexedProperty, hasProperty, setIndexedProperty, setProperty
-
Constructor Details
-
StartupActionModelUtil
public StartupActionModelUtil()
-
-
Method Details
-
getDefault
Get the default StartupActionModelUtil instance, creating it if necessary.- Returns:
- the default instance
-
getActionName
-
getActionName
-
isSystemConnectionAction
-
isSystemConnectionAction
-
getClassName
-
getNames
-
getClasses
-
getOverride
-
dispose
Description copied from interface:DisposableCalled when disposing of a disposable.Note there are no assurances this method will not be called multiple times against a single instance of this Disposable. It is the responsibility of this Disposable to protect itself and the application from ensuring that calling this method multiple times has no unwanted side effects.
- Specified by:
disposein interfaceDisposable
-