net.sf.gridarta.model.settings
public class TestProjectSettings extends AbstractProjectSettings
ProjectSettings
implementation for testing purposes.Modifier and Type | Field and Description |
---|---|
private File |
mapsDirectory
The maps directory.
|
Constructor and Description |
---|
TestProjectSettings() |
Modifier and Type | Method and Description |
---|---|
File |
getArchDirectory()
Returns the archetype directory.
|
File |
getCollectedDirectory()
Returns the directory where collected archetypes are stored.
|
String |
getConfigSourceName()
Returns the name of the configuration source.
|
File |
getConfigurationDirectory()
Returns the configuration directory which is used to load configuration
information like types.xml.
|
String |
getImageSet()
Returns the image set.
|
File |
getMapsDirectory()
Returns the default maps directory.
|
File |
getMediaDirectory()
Returns the media directory.
|
File |
getPickmapDir()
Returns the pickmap directory.
|
String |
getUserName()
Returns the user name.
|
boolean |
saveIndices()
Returns whether indices should be saved to disk.
|
void |
setArchDirectory(File archDirectory)
Sets the archetype directory.
|
void |
setConfigSourceName(String configSourceName)
Sets the name of the configuration source.
|
void |
setImageSet(String imageSet)
Sets the image set.
|
void |
setMapsDirectory(File mapsDirectory)
Sets the default maps directory.
|
void |
setMediaDirectory(File mediaDirectory)
Sets the media directory.
|
void |
setUserName(String userName)
Sets the user name.
|
addProjectSettingsListener, fireMapsDirectoryChanged, removeProjectSettingsListener
@NotNull private File mapsDirectory
public TestProjectSettings()
@NotNull public File getArchDirectory()
public void setArchDirectory(@NotNull File archDirectory)
archDirectory
- the archetype directory@NotNull public File getMapsDirectory()
public void setMapsDirectory(@NotNull File mapsDirectory)
mapsDirectory
- the default maps directory@NotNull public String getConfigSourceName()
public void setConfigSourceName(@NotNull String configSourceName)
configSourceName
- the name@NotNull public File getPickmapDir()
@NotNull public File getMediaDirectory()
public void setMediaDirectory(@NotNull File mediaDirectory)
mediaDirectory
- the media directory@NotNull public String getImageSet()
public void setImageSet(@NotNull String imageSet)
ProjectSettings
imageSet
- the image set@NotNull public File getConfigurationDirectory()
@NotNull public File getCollectedDirectory()
@NotNull public String getUserName()
public void setUserName(@NotNull String userName)
userName
- the user namepublic boolean saveIndices()
Feedback: webmaster
© 2003-2010 The Gridarta Developers. All rights reserved.