intellij-randomness / com.fwdekker.randomness / SettingsAction

SettingsAction

abstract class SettingsAction<S : Settings<S>> : AnAction

Opens the settings window for changing settings.

Constructors

<init>

SettingsAction()

Opens the settings window for changing settings.

Properties

configurableClass

abstract val configurableClass: Class<out SettingsConfigurable<S>>

The class of the configurable maintaining the settings.

title

abstract val title: String

The name of the action.

Functions

actionPerformed

open fun actionPerformed(event: AnActionEvent): Unit

Opens the IntelliJ settings menu at the right location to adjust the configurable of type configurableClass.

update

open fun update(event: AnActionEvent): Unit

Sets the title of this action.

Inheritors

ArraySettingsAction

class ArraySettingsAction : SettingsAction<ArraySettings>

Controller for random array generation settings.

DecimalSettingsAction

class DecimalSettingsAction : SettingsAction<DecimalSettings>

Controller for random decimal generation settings.

IntegerSettingsAction

class IntegerSettingsAction : SettingsAction<IntegerSettings>

Controller for random integer generation settings.

StringSettingsAction

class StringSettingsAction : SettingsAction<StringSettings>

Controller for random string generation settings.

UuidSettingsAction

class UuidSettingsAction : SettingsAction<UuidSettings>

Controller for random UUID generation settings.

WordSettingsAction

class WordSettingsAction : SettingsAction<WordSettings>

Controller for random string generation settings.