Settings

interface Settings<SELF : Any, SCHEME : Scheme<SCHEME>> : PersistentStateComponent<SELF> (source)

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

Inheritors

Properties

Link copied to clipboard

The instance of the scheme that is currently active.

Link copied to clipboard
abstract var currentSchemeName: String

The name of the scheme that is currently active.

Link copied to clipboard
abstract var schemes: MutableList<SCHEME>

The various schemes that are contained within the settings.

Functions

Link copied to clipboard
abstract fun deepCopy(): SELF

Returns a deep copy of the settings and the contained schemes.

Link copied to clipboard
abstract override fun getState(): SELF

Returns this.

Link copied to clipboard
Link copied to clipboard
abstract override fun loadState(state: SELF)

Copies the fields of state to this.

Link copied to clipboard
open fun noStateLoaded()