public class DefaultEditorSettings extends AbstractEditorSettings
EditorSettings
.SHOW_MAIN_TOOLBAR_DEFAULT
Constructor and Description |
---|
DefaultEditorSettings()
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
java.io.File |
getArchDirectoryDefault()
Returns the default archetype directory.
|
java.lang.String |
getImageSetDefault()
Returns the default image set.
|
java.io.File |
getMapsDirectoryDefault()
Returns the default maps directory.
|
java.io.File |
getMediaDirectoryDefault()
Returns the default media directory.
|
java.lang.String |
getUserNameDefault()
Returns the default user name.
|
boolean |
hasImageSet()
Returns whether an image set is used.
|
boolean |
hasMediaDirectory()
Returns whether a media directory is used.
|
boolean |
isShowMainToolbar()
Returns whether the main toolbar should be shown.
|
void |
setShowMainToolbar(boolean selected)
Sets whether the main toolbar should be shown.
|
addEditorSettingsListener, fireShowMainToolbarChanged, removeEditorSettingsListener
@NotNull public java.io.File getArchDirectoryDefault()
@NotNull public java.io.File getMapsDirectoryDefault()
public boolean hasMediaDirectory()
@NotNull public java.io.File getMediaDirectoryDefault()
public boolean hasImageSet()
@NotNull public java.lang.String getImageSetDefault()
public boolean isShowMainToolbar()
public void setShowMainToolbar(boolean selected)
selected
- whether the main toolbar should be shown@NotNull public java.lang.String getUserNameDefault()