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