 |
Gridarta Editor
|
Go to the documentation of this file.
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) {
final MapsIndexer< G, A, R > mapsIndexer
The MapsIndexer indexing mapsIndex.
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.
static final Category LOG
The Logger for printing log messages.
Base package of all Gridarta classes.
final Window parent
The parent Window for go map dialogs.
void goMap()
Action method to open the "go map" dialog.
Reflects a game object (object on a map).
final MapViewsManager< G, A, R > mapViewsManager
The MapViewsManager for opening maps.
Graphical User Interface of Gridarta.
void start()
Starts indexing.
GameObjects are the objects based on Archetypes found on maps.
void stop()
Stops indexing.
final MapsIndex mapsIndex
The MapsIndex indexing all maps.
Interface for MapArchObjects.
Maintains a MapsIndex for the maps directory.
Settings that apply to a project.
Manager for GoMapDialog instances.
void showDialog()
Opens the dialog.
Base classes for rendering maps.
Indexes maps by map name.
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.
Stores all existing MapViews.
Interface for listeners interested in Exiter related events.