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
GoExitDialog
instances.Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
void |
goExit()
Action method to open the "go exit" dialog.
|
void |
setAction(@NotNull javax.swing.Action action,
@NotNull java.lang.String name)
Sets the
Action instance for this editor action. |
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)
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@ActionMethod public void goExit()
public void setAction(@NotNull @NotNull javax.swing.Action action, @NotNull @NotNull java.lang.String name)
EditorAction
Action
instance for this editor action.setAction
in interface EditorAction
action
- the action instancename
- the name of the action