intellij-randomness / com.fwdekker.randomness / DataSettingsAction

DataSettingsAction

abstract class DataSettingsAction : AnAction

Opens the settings window for changing settings.

Parameters

icon - the icon to display with the action

Constructors

<init>

DataSettingsAction(icon: Icon = RandomnessIcons.Data.Settings)

Opens the settings window for changing settings.

Properties

configurableClass

abstract val configurableClass: Class<out SettingsConfigurable<*, *>>

The class of the configurable maintaining the settings.

name

abstract val name: 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 : DataSettingsAction

Controller for random array generation settings.

DecimalSettingsAction

class DecimalSettingsAction : DataSettingsAction

Controller for random decimal generation settings.

IntegerSettingsAction

class IntegerSettingsAction : DataSettingsAction

Controller for random integer generation settings.

StringSettingsAction

class StringSettingsAction : DataSettingsAction

Controller for random string generation settings.

UuidSettingsAction

class UuidSettingsAction : DataSettingsAction

Controller for random UUID generation settings.

WordSettingsAction

class WordSettingsAction : DataSettingsAction

Controller for random string generation settings.