intellij-randomness / com.fwdekker.randomness / DataQuickSwitchSchemeAction

DataQuickSwitchSchemeAction

abstract class DataQuickSwitchSchemeAction<T : Scheme<T>> : QuickSwitchSchemeAction

Opens a popup to allow the user to quickly switch to the selected scheme.

Parameters

T - the type of scheme that can be switched between

settings - the settings containing the schemes that can be switched between

icon - the icon to present with this action

Constructors

<init>

DataQuickSwitchSchemeAction(settings: Settings<*, T>, icon: Icon = RandomnessIcons.Data.Settings)

Opens a popup to allow the user to quickly switch to the selected scheme.

Properties

name

abstract val name: String

The name of the action.

Functions

fillActions

open fun fillActions(project: Project?, group: DefaultActionGroup, dataContext: DataContext): Unit

Adds actions for all schemes in settings to the given group.

update

open fun update(event: AnActionEvent): Unit

Sets the title and icon of this action.

Inheritors

ArrayQuickSwitchSchemeAction

class ArrayQuickSwitchSchemeAction : DataQuickSwitchSchemeAction<ArrayScheme>

Opens a popup to allow the user to quickly switch to the selected scheme.

DecimalQuickSwitchSchemeAction

class DecimalQuickSwitchSchemeAction : DataQuickSwitchSchemeAction<DecimalScheme>

Opens a popup to allow the user to quickly switch to the selected scheme.

IntegerQuickSwitchSchemeAction

class IntegerQuickSwitchSchemeAction : DataQuickSwitchSchemeAction<IntegerScheme>

Opens a popup to allow the user to quickly switch to the selected scheme.

StringQuickSwitchSchemeAction

class StringQuickSwitchSchemeAction : DataQuickSwitchSchemeAction<StringScheme>

Opens a popup to allow the user to quickly switch to the selected scheme.

UuidQuickSwitchSchemeAction

class UuidQuickSwitchSchemeAction : DataQuickSwitchSchemeAction<UuidScheme>

Opens a popup to allow the user to quickly switch to the selected scheme.

WordQuickSwitchSchemeAction

class WordQuickSwitchSchemeAction : DataQuickSwitchSchemeAction<WordScheme>

Opens a popup to allow the user to quickly switch to the selected scheme.