20 package net.sf.gridarta.action;
22 import javax.swing.Action;
28 import net.
sf.japi.swing.action.ActionMethod;
29 import org.jetbrains.annotations.NotNull;
60 public void setAction(@NotNull
final Action action, @NotNull
final String name) {
Graphical User Interface of Gridarta.
CloseAllMapsAction(@NotNull final DefaultFileControl< G, A, R > fileControl)
Creates a new instance.
Default FileControl implementation.
Base package of all Gridarta classes.
Reflects a game object (object on a map).
GameObjects are the objects based on Archetypes found on maps.
An EditorAction that closes all map windows.
void closeAllMaps()
Closes all open map windows.
final DefaultFileControl< G, A, R > fileControl
The global DefaultFileControl instance.
void setAction(@NotNull final Action action, @NotNull final String name)
Sets the Action instance for this editor action.
boolean closeAllMaps()
Invoked when the user wants to close all maps.
Interface for MapArchObjects.