 |
Gridarta Editor
|
Go to the documentation of this file.
20 package net.sf.gridarta.gui.dialog.goexit;
22 import java.awt.Window;
23 import javax.swing.Action;
35 import net.
sf.japi.swing.action.ActionMethod;
36 import org.jetbrains.annotations.NotNull;
90 public GoExitDialogManager(@NotNull
final Window
parent, @NotNull
final MapManager<G, A, R> mapManager, @NotNull
final MapViewManager<G, A, R> mapViewManager, @NotNull
final GameObjectMatcher exitGameObjectMatcher, @NotNull
final EnterMap<G, A, R> enterMap, @NotNull
final FaceObjectProviders faceObjectProviders) {
105 if (mapControl ==
null) {
110 if (mapView ==
null) {
117 public void setAction(@NotNull
final Action action, @NotNull
final String
name) {
final GameObjectMatcher exitGameObjectMatcher
The GameObjectMatcher for selecting exits.
A MapManager manages all opened maps.
Base package of all Gridarta classes.
final MapManager< G, A, R > mapManager
The map manager to use.
GoExitDialogManager(@NotNull final Window parent, @NotNull final MapManager< G, A, R > mapManager, @NotNull final MapViewManager< G, A, R > mapViewManager, @NotNull final GameObjectMatcher exitGameObjectMatcher, @NotNull final EnterMap< G, A, R > enterMap, @NotNull final FaceObjectProviders faceObjectProviders)
Creates a new instance.
void setAction(@NotNull final Action action, @NotNull final String name)
Sets the Action instance for this editor action.
Interface for classes that match GameObjects.
Provider for faces of GameObjects and Archetypes.
Reflects a game object (object on a map).
final Window parent
The parent Window for go map dialogs.
void showDialog()
Opens the dialog.
Helper class for entering maps.
Graphical User Interface of Gridarta.
final MapViewManager< G, A, R > mapViewManager
The MapViewManager instance.
GameObjects are the objects based on Archetypes found on maps.
Classes related to matching {GameObjects}, so called { net.sf.gridarta.model.match....
final FaceObjectProviders faceObjectProviders
The FaceObjectProviders for looking up faces.
Interface for MapArchObjects.
Manager for GoExitDialog instances.
A map view consists of a map grid and a map cursor, and is attached to a map control.
MapControl< G, A, R > getCurrentMap()
Returns the current map.
A dialog to ask the user for a map to open.
void goExit()
Action method to open the "go exit" dialog.
Base classes for rendering maps.
MapView< G, A, R > getActiveMapView()
Returns the active top map view we are working with.
The face is the appearance of an object.
Currently nothing more than a marker interface for unification.
final EnterMap< G, A, R > enterMap
The EnterMap instance to use.