Package net.sf.gridarta.action
Class OptionsAction<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>>
- java.lang.Object
-
- net.sf.gridarta.action.OptionsAction<G,A,R>
-
- All Implemented Interfaces:
EditorAction
public class OptionsAction<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>> extends java.lang.Object implements EditorAction
-
-
Constructor Summary
Constructors Constructor Description OptionsAction(@NotNull EditorFactory<G,A,R> editorFactory, @NotNull ProjectSettings projectSettings, @NotNull EditorSettings editorSettings, @NotNull DelegatingMapValidator<G,A,R> validators, @NotNull AppPreferencesModel appPreferencesModel, @NotNull ExitConnectorModel exitConnectorModel, @NotNull ConfigSourceFactory configSourceFactory, @NotNull java.awt.Component parent)Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidoptions()The action method for "options".voidsetAction(@NotNull javax.swing.Action action, @NotNull java.lang.String name)Sets theActioninstance for this editor action.
-
-
-
Constructor Detail
-
OptionsAction
public OptionsAction(@NotNull @NotNull EditorFactory<G,A,R> editorFactory, @NotNull @NotNull ProjectSettings projectSettings, @NotNull @NotNull EditorSettings editorSettings, @NotNull @NotNull DelegatingMapValidator<G,A,R> validators, @NotNull @NotNull AppPreferencesModel appPreferencesModel, @NotNull @NotNull ExitConnectorModel exitConnectorModel, @NotNull @NotNull ConfigSourceFactory configSourceFactory, @NotNull @NotNull java.awt.Component parent)Creates a new instance.
-
-
Method Detail
-
options
@ActionMethod public void options()
The action method for "options". Opens the options dialog.
-
setAction
public void setAction(@NotNull @NotNull javax.swing.Action action, @NotNull @NotNull java.lang.String name)Description copied from interface:EditorActionSets theActioninstance for this editor action.- Specified by:
setActionin interfaceEditorAction- Parameters:
action- the action instancename- the name of the action
-
-