public class ShrinkMapSizeDialogManager<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>>
extends java.lang.Object
ShrinkMapSizeDialog
instances. This class makes sure that
for each map view no more than one shrink map size dialog exists.Constructor and Description |
---|
ShrinkMapSizeDialogManager(@NotNull MapViewManager<G,A,R> mapViewManager)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
disposeDialog(@NotNull MapView<G,A,R> mapView)
Disposes a dialog.
|
void |
showDialog(@NotNull MapView<G,A,R> mapView)
Shows a dialog to shrink the map size.
|
public ShrinkMapSizeDialogManager(@NotNull @NotNull MapViewManager<G,A,R> mapViewManager)
mapViewManager
- the map view manager