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