Settings

interface Settings<SELF : Any, 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

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
open fun initializeComponent()
Link copied to clipboard
abstract override fun loadState(state: SELF)

Copies the fields of state to this.

Link copied to clipboard
open fun noStateLoaded()

Properties

Link copied to clipboard
open var currentScheme: SCHEME

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.

Inheritors

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Sources

Link copied to clipboard