interface Settings<SELF, SCHEME : Scheme<SCHEME>> : PersistentStateComponent<SELF>
Settings are composed of Schemes and persist these over IDE restarts.
SELF
- the type of settings that should be persisted; should be a self reference
SCHEME
- the type of scheme that the settings consist of
open var currentScheme: SCHEME
The instance of the scheme that is currently active. |
|
abstract var currentSchemeName: String
The name of the scheme that is currently active. |
|
abstract var schemes: MutableList<SCHEME>
The various schemes that are contained within the settings. |
abstract fun deepCopy(): SELF
Returns a deep copy of the settings and the contained schemes. |
|
abstract fun getState(): SELF
Returns |
|
abstract fun loadState(state: SELF): Unit
Copies the fields of |
data class ArraySettings : Settings<ArraySettings, ArrayScheme>
The user-configurable collection of schemes applicable to generating arrays. |
|
data class DecimalSettings : Settings<DecimalSettings, DecimalScheme>
The user-configurable collection of schemes applicable to generating decimals. |
|
data class IntegerSettings : Settings<IntegerSettings, IntegerScheme>
The user-configurable collection of schemes applicable to generating integers. |
|
data class StringSettings : Settings<StringSettings, StringScheme>
The user-configurable collection of schemes applicable to generating strings. |
|
data class UuidSettings : Settings<UuidSettings, UuidScheme>
The user-configurable collection of schemes applicable to generating UUIDs. |
|
data class WordSettings : Settings<WordSettings, WordScheme>
The user-configurable collection of schemes applicable to generating words. |