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 and Description |
---|
OptionsAction(EditorFactory<G,A,R> editorFactory,
ProjectSettings projectSettings,
EditorSettings editorSettings,
DelegatingMapValidator<G,A,R> validators,
AppPreferencesModel appPreferencesModel,
ExitConnectorModel exitConnectorModel,
ConfigSourceFactory configSourceFactory,
java.awt.Component parent)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
options()
The action method for "options".
|
void |
setAction(javax.swing.Action action,
java.lang.String name)
Sets the
Action instance for this editor action. |
public 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)
@ActionMethod public void options()
public void setAction(@NotNull javax.swing.Action action, @NotNull java.lang.String name)
Action
instance for this editor action.setAction
in interface EditorAction
action
- the action instancename
- the name of the action