Class GoExitDialogManager<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>>
- java.lang.Object
-
- net.sf.gridarta.gui.dialog.goexit.GoExitDialogManager<G,A,R>
-
- All Implemented Interfaces:
EditorAction
public class GoExitDialogManager<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>> extends java.lang.Object implements EditorAction
Manager forGoExitDialoginstances.
-
-
Constructor Summary
Constructors Constructor Description GoExitDialogManager(@NotNull java.awt.Window parent, @NotNull MapManager<G,A,R> mapManager, @NotNull MapViewManager<G,A,R> mapViewManager, @NotNull GameObjectMatcher exitGameObjectMatcher, @NotNull EnterMap<G,A,R> enterMap, @NotNull FaceObjectProviders faceObjectProviders)Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidgoExit()Action method to open the "go exit" dialog.voidsetAction(@NotNull javax.swing.Action action, @NotNull java.lang.String name)Sets theActioninstance for this editor action.
-
-
-
Constructor Detail
-
GoExitDialogManager
public GoExitDialogManager(@NotNull @NotNull java.awt.Window parent, @NotNull @NotNull MapManager<G,A,R> mapManager, @NotNull @NotNull MapViewManager<G,A,R> mapViewManager, @NotNull @NotNull GameObjectMatcher exitGameObjectMatcher, @NotNull @NotNull EnterMap<G,A,R> enterMap, @NotNull @NotNull FaceObjectProviders faceObjectProviders)Creates a new instance.- Parameters:
parent- the parent window for go map dialogsmapManager- the map manager to usemapViewManager- the map view manager instanceexitGameObjectMatcher- the game object matcher for selecting exitsenterMap- the enter map instance to usefaceObjectProviders- the face object providers for looking up faces
-
-
Method Detail
-
goExit
@ActionMethod public void goExit()
Action method to open the "go exit" 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
-
-