20 package net.sf.gridarta.gui.dialog.gomap;
22 import java.awt.Window;
23 import javax.swing.Action;
35 import net.
sf.japi.swing.action.ActionMethod;
36 import org.apache.log4j.Category;
37 import org.apache.log4j.Logger;
38 import org.jetbrains.annotations.NotNull;
92 public void preExitNotify() {
97 public void appExitNotify() {
100 }
catch (
final InterruptedException ignored) {
101 Thread.currentThread().interrupt();
102 LOG.warn(
"Waiting for MapsIndexer to terminate was interrupted");
107 public void waitExitNotify() {
123 public void setAction(@NotNull
final Action action, @NotNull
final String name) {
Indexes maps by map name.
final Window parent
The parent Window for go map dialogs.
GoMapDialogManager(@NotNull final Window parent, @NotNull final MapManager< G, A, R > mapManager, @NotNull final MapViewsManager< G, A, R > mapViewsManager, @NotNull final ProjectSettings projectSettings, @NotNull final Exiter exiter)
Creates a new instance.
A MapManager manages all opened maps.
Graphical User Interface of Gridarta.
static final Category LOG
The Logger for printing log messages.
Settings that apply to a project.
void start()
Starts indexing.
Maintains a MapsIndex for the maps directory.
Stores all existing MapViews.
Base package of all Gridarta classes.
Reflects a game object (object on a map).
Interface for listeners interested in Exiter related events.
GameObjects are the objects based on Archetypes found on maps.
void stop()
Stops indexing.
Base classes for rendering maps.
final MapsIndexer< G, A, R > mapsIndexer
The MapsIndexer indexing mapsIndex.
A dialog to ask the user for a map to open.
void setAction(@NotNull final Action action, @NotNull final String name)
Sets the Action instance for this editor action.
final MapsIndex mapsIndex
The MapsIndex indexing all maps.
void goMap()
Action method to open the "go map" dialog.
final MapViewsManager< G, A, R > mapViewsManager
The MapViewsManager for opening maps.
Manager for GoMapDialog instances.
Interface for MapArchObjects.