Settings

interface Settings<SELF, SCHEME : Scheme<SCHEME>> : PersistentStateComponent<SELF>

Settings are composed of Schemes and persist these over IDE restarts.

Parameters

SELF

the type of settings that should be persisted; should be a self reference

SCHEME

the type of scheme that the settings consist of

Functions

deepCopy
Link copied to clipboard
abstract fun deepCopy(): SELF
Returns a deep copy of the settings and the contained schemes.
getState
Link copied to clipboard
abstract override fun getState(): SELF
Returns this.
initializeComponent
Link copied to clipboard
open fun initializeComponent()
loadState
Link copied to clipboard
abstract override fun loadState(state: SELF)
Copies the fields of state to this.
noStateLoaded
Link copied to clipboard
open fun noStateLoaded()

Properties

currentScheme
Link copied to clipboard
open var currentScheme: SCHEME
The instance of the scheme that is currently active.
currentSchemeName
Link copied to clipboard
abstract var currentSchemeName: String
The name of the scheme that is currently active.
schemes
Link copied to clipboard
abstract var schemes: MutableList<SCHEME>
The various schemes that are contained within the settings.

Inheritors

ArraySettings
Link copied to clipboard
DecimalSettings
Link copied to clipboard
IntegerSettings
Link copied to clipboard
StringSettings
Link copied to clipboard
UuidSettings
Link copied to clipboard
WordSettings
Link copied to clipboard

Sources

jvm source
Link copied to clipboard