intellij-randomness / com.fwdekker.randomness / DataGroupAction

DataGroupAction

abstract class DataGroupAction : ActionGroup

A group of actions for a particular type of random data that can be generated.

Constructors

<init>

DataGroupAction()

A group of actions for a particular type of random data that can be generated.

Properties

insertAction

abstract val insertAction: DataInsertAction

The action used to insert a single datum.

insertArrayAction

abstract val insertArrayAction: DataInsertArrayAction

The action used to insert an array of data.

settingsAction

abstract val settingsAction: SettingsAction

The action used to edit the generator settings for this data type.

Functions

actionPerformed

open fun actionPerformed(event: AnActionEvent): Unit

Chooses one of the three actions to execute based on the key modifiers in event.

canBePerformed

open fun canBePerformed(context: DataContext): Boolean

Returns true.

getChildren

open fun getChildren(event: AnActionEvent?): Array<AnAction>

Returns the insert action, array insert action, and settings action.

isPopup

open fun isPopup(): Boolean

Returns true.

update

open fun update(event: AnActionEvent): Unit

Sets the title of this action.

Inheritors

DecimalGroupAction

class DecimalGroupAction : DataGroupAction

All actions related to inserting decimals.

IntegerGroupAction

class IntegerGroupAction : DataGroupAction

All actions related to inserting integers.

StringGroupAction

class StringGroupAction : DataGroupAction

All actions related to inserting strings.

UuidGroupAction

class UuidGroupAction : DataGroupAction

All actions related to inserting UUIDs.

WordGroupAction

class WordGroupAction : DataGroupAction

All actions related to inserting words.