 |
Gridarta Editor
|
Go to the documentation of this file.
20 package net.sf.gridarta.action;
22 import javax.swing.Action;
32 import net.
sf.japi.swing.action.ActionMethod;
33 import org.jetbrains.annotations.NotNull;
34 import org.jetbrains.annotations.Nullable;
92 if (mapView ==
null) {
void showDialog(final MapView< G, A, R > mapView)
Show a dialog for positioning the cursor of a map.
Base package of all Gridarta classes.
void setAction(@NotNull final Action action, @NotNull final String name)
Sets the Action instance for this editor action.
Manager for GoLocationDialog instances.
Reflects a game object (object on a map).
Graphical User Interface of Gridarta.
MapView< G, A, R > getActiveMapView()
Return the current map view.
GameObjects are the objects based on Archetypes found on maps.
boolean doGoLocation(final boolean performAction)
Executes the "go location" action.
Interface for MapArchObjects.
A map view consists of a map grid and a map cursor, and is attached to a map control.
Maintains (dialog) instance associated to map view instances.
Abstract base class for actions that have to track the current map cursor.
GoLocationAction(@NotNull final MapViewManager< G, A, R > mapViewManager)
Creates a new instance.
Action action
The Action associated with this editor action.
final AbstractPerMapDialogManager< G, A, R, GoLocationDialog< G, A, R > > goLocationDialogManager
The AbstractPerMapDialogManager to track go location dialog instances.
A dialog to ask the user for coordinates to move the cursor to.
Base classes for rendering maps.
An EditorAction that openes the "go location" dialog.
void goLocation()
Opens the "go location" dialog.