public abstract class AbstractDefaultProjectSettings extends AbstractProjectSettings
ProjectSettings
.Modifier | Constructor and Description |
---|---|
protected |
AbstractDefaultProjectSettings(@NotNull EditorSettings editorSettings)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
@NotNull java.io.File |
getArchDirectory()
Returns the archetype directory.
|
@NotNull java.lang.String |
getConfigSourceName()
Returns the name of the configuration source.
|
@NotNull java.lang.String |
getImageSet()
Returns the image set.
|
@NotNull java.io.File |
getMapsDirectory()
Returns the default maps directory.
|
@NotNull java.io.File |
getMediaDirectory()
Returns the media directory.
|
@NotNull java.lang.String |
getUserName()
Returns the user name.
|
boolean |
saveIndices()
Returns whether indices should be saved to disk.
|
void |
setArchDirectory(@NotNull java.io.File archDirectory)
Sets the archetype directory.
|
void |
setConfigSourceName(@NotNull java.lang.String configSourceName)
Sets the name of the configuration source.
|
void |
setImageSet(@NotNull java.lang.String imageSet)
Sets the image set.
|
void |
setMapsDirectory(@NotNull java.io.File mapsDirectory)
Sets the default maps directory.
|
void |
setMediaDirectory(@NotNull java.io.File mediaDirectory)
Sets the media directory.
|
void |
setUserName(@NotNull java.lang.String userName)
Sets the user name.
|
addProjectSettingsListener, fireMapsDirectoryChanged, removeProjectSettingsListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCollectedDirectory, getConfigurationDirectory, getPickmapDir
protected AbstractDefaultProjectSettings(@NotNull @NotNull EditorSettings editorSettings)
editorSettings
- the editor settings for retrieving default values@NotNull public @NotNull java.io.File getArchDirectory()
ProjectSettings
public void setArchDirectory(@NotNull @NotNull java.io.File archDirectory)
ProjectSettings
archDirectory
- the archetype directory@NotNull public @NotNull java.io.File getMapsDirectory()
ProjectSettings
public void setMapsDirectory(@NotNull @NotNull java.io.File mapsDirectory)
ProjectSettings
mapsDirectory
- the default maps directory@NotNull public @NotNull java.io.File getMediaDirectory()
ProjectSettings
public void setMediaDirectory(@NotNull @NotNull java.io.File mediaDirectory)
ProjectSettings
mediaDirectory
- the media directory@NotNull public @NotNull java.lang.String getImageSet()
ProjectSettings
public void setImageSet(@NotNull @NotNull java.lang.String imageSet)
ProjectSettings
imageSet
- the image set@NotNull public @NotNull java.lang.String getConfigSourceName()
ProjectSettings
public void setConfigSourceName(@NotNull @NotNull java.lang.String configSourceName)
ProjectSettings
configSourceName
- the name@NotNull public @NotNull java.lang.String getUserName()
ProjectSettings
public void setUserName(@NotNull @NotNull java.lang.String userName)
ProjectSettings
userName
- the user namepublic boolean saveIndices()
ProjectSettings