Package net.sf.gridarta.action
Class CloseAllMapsAction<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>>
- java.lang.Object
-
- net.sf.gridarta.action.CloseAllMapsAction<G,A,R>
-
- All Implemented Interfaces:
EditorAction
public class CloseAllMapsAction<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>> extends java.lang.Object implements EditorAction
AnEditorActionthat closes all map windows.
-
-
Constructor Summary
Constructors Constructor Description CloseAllMapsAction(@NotNull DefaultFileControl<G,A,R> fileControl)Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcloseAllMaps()Closes all open map windows.voidsetAction(@NotNull javax.swing.Action action, @NotNull java.lang.String name)Sets theActioninstance for this editor action.
-
-
-
Constructor Detail
-
CloseAllMapsAction
public CloseAllMapsAction(@NotNull @NotNull DefaultFileControl<G,A,R> fileControl)Creates a new instance.- Parameters:
fileControl- the global file control instance
-
-
Method Detail
-
closeAllMaps
@ActionMethod public void closeAllMaps()
Closes all open map windows.
-
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
-
-