Package net.sf.gridarta.action
Class ExitAction
- java.lang.Object
-
- net.sf.gridarta.action.ExitAction
-
- All Implemented Interfaces:
EditorAction
public class ExitAction extends java.lang.Object implements EditorAction
-
-
Constructor Summary
Constructors Constructor Description ExitAction(@NotNull Exiter exiter, @NotNull ScriptEditControl scriptEditControl, @NotNull FileControl<?,?,?> fileControl, @NotNull PickmapChooserControl<?,?,?> pickmapChooserControl, @NotNull PluginController<?,?,?> pluginControl)Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexit()The action method for "exit".voidsetAction(@NotNull javax.swing.Action action, @NotNull java.lang.String name)Sets theActioninstance for this editor action.
-
-
-
Constructor Detail
-
ExitAction
public ExitAction(@NotNull @NotNull Exiter exiter, @NotNull @NotNull ScriptEditControl scriptEditControl, @NotNull @NotNull FileControl<?,?,?> fileControl, @NotNull @NotNull PickmapChooserControl<?,?,?> pickmapChooserControl, @NotNull @NotNull PluginController<?,?,?> pluginControl)Creates a new instance.
-
-
Method Detail
-
exit
@ActionMethod public void exit()
The action method for "exit". Invoked when user wants to exit from the program.
-
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
-
-