|
Gridarta Editor
|
Inheritance diagram for net.sf.gridarta.action.ExitAction:
Collaboration diagram for net.sf.gridarta.action.ExitAction:Public Member Functions | |
| void | exit () |
| The action method for "exit". More... | |
| ExitAction (@NotNull final Exiter exiter, @NotNull final ScriptEditControl scriptEditControl, @NotNull final FileControl<?, ?, ?> fileControl, @NotNull final PickmapChooserControl<?, ?, ?> pickmapChooserControl, @NotNull final PluginController<?, ?, ?> pluginControl) | |
| Creates a new instance. More... | |
| void | setAction (@NotNull final Action action, @NotNull final String name) |
| Sets the Action instance for this editor action. More... | |
Private Member Functions | |
| boolean | canExit () |
| Prepares existing the application: save modified data (possibly ask the user if applicable). More... | |
Private Attributes | |
| final Exiter | exiter |
| final FileControl<?, ?, ?> | fileControl |
| final PickmapChooserControl<?, ?, ?> | pickmapChooserControl |
| final PluginController<?, ?, ?> | pluginControl |
| final ScriptEditControl | scriptEditControl |
Definition at line 35 of file ExitAction.java.
| net.sf.gridarta.action.ExitAction.ExitAction | ( | @NotNull final Exiter | exiter, |
| @NotNull final ScriptEditControl | scriptEditControl, | ||
| @NotNull final FileControl<?, ?, ?> | fileControl, | ||
| @NotNull final PickmapChooserControl<?, ?, ?> | pickmapChooserControl, | ||
| @NotNull final PluginController<?, ?, ?> | pluginControl | ||
| ) |
Creates a new instance.
Definition at line 55 of file ExitAction.java.
References net.sf.gridarta.action.ExitAction.exiter, net.sf.gridarta.action.ExitAction.fileControl, net.sf.gridarta.action.ExitAction.pickmapChooserControl, net.sf.gridarta.action.ExitAction.pluginControl, and net.sf.gridarta.action.ExitAction.scriptEditControl.
|
private |
Prepares existing the application: save modified data (possibly ask the user if applicable).
Definition at line 79 of file ExitAction.java.
References net.sf.gridarta.gui.dialog.plugin.PluginController< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.canExit(), net.sf.gridarta.gui.panel.pickmapchooser.PickmapChooserControl< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.canExit(), net.sf.gridarta.model.mapmanager.FileControl< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.closeAllMaps(), and net.sf.gridarta.textedit.scripteditor.ScriptEditControl.closeAllTabs().
Referenced by net.sf.gridarta.action.ExitAction.exit().
Here is the call graph for this function:
Here is the caller graph for this function:| void net.sf.gridarta.action.ExitAction.exit | ( | ) |
The action method for "exit".
Invoked when user wants to exit from the program.
Definition at line 68 of file ExitAction.java.
References net.sf.gridarta.action.ExitAction.canExit(), and net.sf.gridarta.utils.Exiter.doExit().
Here is the call graph for this function:| void net.sf.gridarta.action.ExitAction.setAction | ( | @NotNull final Action | action, |
| @NotNull final String | name | ||
| ) |
Sets the Action instance for this editor action.
| action | the action instance |
| name | the name of the action |
Implements net.sf.gridarta.utils.EditorAction.
Definition at line 84 of file ExitAction.java.
|
private |
Definition at line 38 of file ExitAction.java.
Referenced by net.sf.gridarta.action.ExitAction.ExitAction().
|
private |
Definition at line 44 of file ExitAction.java.
Referenced by net.sf.gridarta.action.ExitAction.ExitAction().
|
private |
Definition at line 47 of file ExitAction.java.
Referenced by net.sf.gridarta.action.ExitAction.ExitAction().
|
private |
Definition at line 50 of file ExitAction.java.
Referenced by net.sf.gridarta.action.ExitAction.ExitAction().
|
private |
Definition at line 41 of file ExitAction.java.
Referenced by net.sf.gridarta.action.ExitAction.ExitAction().