Class DefaultMapPropertiesDialogFactory
- java.lang.Object
-
- net.sf.gridarta.var.daimonin.gui.mappropertiesdialog.DefaultMapPropertiesDialogFactory
-
- All Implemented Interfaces:
MapPropertiesDialogFactory<GameObject,MapArchObject,Archetype>
public class DefaultMapPropertiesDialogFactory extends java.lang.Object implements MapPropertiesDialogFactory<GameObject,MapArchObject,Archetype>
AMapPropertiesDialogFactorycreating Crossfire map properties dialogs.
-
-
Constructor Summary
Constructors Constructor Description DefaultMapPropertiesDialogFactory(@NotNull MapManager<GameObject,MapArchObject,Archetype> mapManager, @NotNull ProjectSettings projectSettings)Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidshowDialog(@NotNull java.awt.Component parent, @NotNull java.awt.Frame helpParent, @NotNull MapModel<GameObject,MapArchObject,Archetype> mapModel, @NotNull javax.swing.filechooser.FileFilter mapFileFilter)Show a dialog querying the user for map properties.
-
-
-
Constructor Detail
-
DefaultMapPropertiesDialogFactory
public DefaultMapPropertiesDialogFactory(@NotNull @NotNull MapManager<GameObject,MapArchObject,Archetype> mapManager, @NotNull @NotNull ProjectSettings projectSettings)Creates a new instance.- Parameters:
mapManager- the map manager to useprojectSettings- the project settings instance
-
-
Method Detail
-
showDialog
public void showDialog(@NotNull @NotNull java.awt.Component parent, @NotNull @NotNull java.awt.Frame helpParent, @NotNull @NotNull MapModel<GameObject,MapArchObject,Archetype> mapModel, @NotNull @NotNull javax.swing.filechooser.FileFilter mapFileFilter)Description copied from interface:MapPropertiesDialogFactoryShow a dialog querying the user for map properties.- Specified by:
showDialogin interfaceMapPropertiesDialogFactory<GameObject,MapArchObject,Archetype>- Parameters:
parent- the parent component to show dialog onhelpParent- the parent frame for help windowsmapModel- the map to show dialog aboutmapFileFilter- the Swing file filter to use
-
-