 |
Gridarta Editor
|
Go to the documentation of this file.
20 package net.sf.gridarta.gui.dialog.shrinkmapsize;
22 import java.util.HashMap;
30 import org.jetbrains.annotations.NotNull;
31 import org.jetbrains.annotations.Nullable;
84 if (oldDialog !=
null) {
102 dialog =
dialogs.remove(mapView);
103 if (dialog ==
null) {
Manager for ShrinkMapSizeDialog instances.
Base package of all Gridarta classes.
Interface for listeners interested in events related to {} instances.
Reflects a game object (object on a map).
Graphical User Interface of Gridarta.
GameObjects are the objects based on Archetypes found on maps.
Interface for MapArchObjects.
A map view consists of a map grid and a map cursor, and is attached to a map control.
void showDialog(@NotNull final MapView< G, A, R > mapView)
Shows a dialog to shrink the map size.
final Map< MapView< G, A, R >, ShrinkMapSizeDialog< G, A, R > > dialogs
Dialog for each map view.
Base classes for rendering maps.
Dialog to ask which empty borders to remove from a map.
final MapViewManagerListener< G, A, R > mapViewManagerListener
The map view manager listener to detect closed map views.
ShrinkMapSizeDialogManager(@NotNull final MapViewManager< G, A, R > mapViewManager)
Creates a new instance.
void disposeDialog(@NotNull final MapView< G, A, R > mapView)
Disposes a dialog.
Window getDialog()
Returns the JDialog for this instance.