Package net.sf.gridarta.gui.dialog.gomap
Class GoMapDialogManager<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>>
- java.lang.Object
-
- net.sf.gridarta.gui.dialog.gomap.GoMapDialogManager<G,A,R>
-
- All Implemented Interfaces:
EditorAction
public class GoMapDialogManager<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>> extends java.lang.Object implements EditorAction
Manager forGoMapDialoginstances.
-
-
Constructor Summary
Constructors Constructor Description GoMapDialogManager(@NotNull java.awt.Window parent, @NotNull MapManager<G,A,R> mapManager, @NotNull MapViewsManager<G,A,R> mapViewsManager, @NotNull ProjectSettings projectSettings, @NotNull Exiter exiter)Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidgoMap()Action method to open the "go map" dialog.voidsetAction(@NotNull javax.swing.Action action, @NotNull java.lang.String name)Sets theActioninstance for this editor action.
-
-
-
Constructor Detail
-
GoMapDialogManager
public GoMapDialogManager(@NotNull @NotNull java.awt.Window parent, @NotNull @NotNull MapManager<G,A,R> mapManager, @NotNull @NotNull MapViewsManager<G,A,R> mapViewsManager, @NotNull @NotNull ProjectSettings projectSettings, @NotNull @NotNull Exiter exiter)Creates a new instance.- Parameters:
parent- the parent window for go map dialogsmapManager- the map manager for opening mapsmapViewsManager- the map views manager for opening mapsprojectSettings- the project settings instanceexiter- the exiter instance
-
-
Method Detail
-
goMap
@ActionMethod public void goMap()
Action method to open the "go map" dialog.
-
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
-
-