20 package net.sf.gridarta.model.settings;
23 import org.jetbrains.annotations.NotNull;
49 imageDirectory = mapsDirectory;
50 currentSaveMapDirectory = mapsDirectory.exists() ? mapsDirectory :
new File(System.getProperty(
"user.dir"));
void setCurrentSaveMapDirectory(@NotNull final File currentSaveMapDirectory)
Sets the default directory for saving maps.
File currentSaveMapDirectory
The the default directory for saving maps.
File getCurrentSaveMapDirectory()
Returns the default directory for saving maps.
void setImageDirectory(@NotNull final File imageDirectory)
Sets the directory to save created image to.
DefaultVolatileSettings(@NotNull final File mapsDirectory)
Creates a new instance.
Default implementation of VolatileSettings.
File getImageDirectory()
Returns the directory to save images to.
File imageDirectory
The image directory.
Settings that are not retained across editor restarts.