Package jmri.jmrit.display
Interface EditorActionFactory
-
- All Superinterfaces:
JmriServiceProviderInterface
- All Known Implementing Classes:
ControlPanelEditorActionFactory
,LayoutEditorActionFactory
,PanelEditorActionFactory
,SwitchboardEditorActionFactory
public interface EditorActionFactory extends JmriServiceProviderInterface
Factory for creatingAbstractAction
s that create newEditor
s.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description javax.swing.AbstractAction
createAction()
Create a new action that should create a newEditor
.java.lang.String
getTitle()
Get the title used for the action returned bycreateAction()
.
-
-
-
Method Detail
-
createAction
@Nonnull javax.swing.AbstractAction createAction()
Create a new action that should create a newEditor
.- Returns:
- the action
-
getTitle
@Nonnull java.lang.String getTitle()
Get the title used for the action returned bycreateAction()
.- Returns:
- the title
-
-