public class ExitAction extends java.lang.Object implements EditorAction
Constructor and Description |
---|
ExitAction(Exiter exiter,
ScriptEditControl scriptEditControl,
FileControl<?,?,?> fileControl,
PickmapChooserControl<?,?,?> pickmapChooserControl,
PluginController<?,?,?> pluginControl)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
exit()
The action method for "exit".
|
void |
setAction(javax.swing.Action action,
java.lang.String name)
Sets the
Action instance for this editor action. |
public ExitAction(@NotNull Exiter exiter, @NotNull ScriptEditControl scriptEditControl, @NotNull FileControl<?,?,?> fileControl, @NotNull PickmapChooserControl<?,?,?> pickmapChooserControl, @NotNull PluginController<?,?,?> pluginControl)
@ActionMethod public void exit()
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