Package jmri.util.startup
Class PerformActionModelFactory
- java.lang.Object
-
- jmri.util.startup.AbstractActionModelFactory
-
- jmri.util.startup.PerformActionModelFactory
-
- All Implemented Interfaces:
JmriServiceProviderInterface
,StartupModelFactory
public class PerformActionModelFactory extends AbstractActionModelFactory
-
-
Constructor Summary
Constructors Constructor Description PerformActionModelFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getEditModelMessage()
Get the message text for the dialog created inAbstractActionModelFactory.editModel(StartupModel, java.awt.Component)
.java.lang.Class<? extends StartupModel>
getModelClass()
Get theClass
that is generated by this factory.PerformActionModel
newModel()
Create a new instance of the model.-
Methods inherited from class jmri.util.startup.AbstractActionModelFactory
editModel, getActionText, getDescription, initialize
-
-
-
-
Constructor Detail
-
PerformActionModelFactory
public PerformActionModelFactory()
-
-
Method Detail
-
getModelClass
public java.lang.Class<? extends StartupModel> getModelClass()
Description copied from interface:StartupModelFactory
Get theClass
that is generated by this factory. The Class must be a subclass ofStartupModel
.- Returns:
- The class this factory generates.
-
newModel
public PerformActionModel newModel()
Description copied from interface:StartupModelFactory
Create a new instance of the model.- Returns:
- the new instance
-
getEditModelMessage
public java.lang.String getEditModelMessage()
Description copied from class:AbstractActionModelFactory
Get the message text for the dialog created inAbstractActionModelFactory.editModel(StartupModel, java.awt.Component)
.- Specified by:
getEditModelMessage
in classAbstractActionModelFactory
- Returns:
- the message text
-
-