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(@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.
|
Modifier and Type | Method and Description |
---|---|
void |
options()
The action method for "options".
|
void |
setAction(@NotNull javax.swing.Action action,
@NotNull java.lang.String name)
Sets the
Action instance for this editor action. |
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)
@ActionMethod public void options()
public void setAction(@NotNull @NotNull javax.swing.Action action, @NotNull @NotNull java.lang.String name)
EditorAction
Action
instance for this editor action.setAction
in interface EditorAction
action
- the action instancename
- the name of the action