DataGroupAction

abstract class DataGroupAction(icon: Icon) : ActionGroup

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

Parameters

icon

the icon to display with the action

Constructors

DataGroupAction
Link copied to clipboard
fun DataGroupAction(icon: Icon = RandomnessIcons.Data.Base)
the icon to display with the action

Functions

actionPerformed
Link copied to clipboard
open override fun actionPerformed(event: AnActionEvent)
Chooses one of the three actions to execute based on the key modifiers in event.
addPropertyChangeListener
Link copied to clipboard
fun addPropertyChangeListener(@NotNull() p0: @NotNull() PropertyChangeListener)
addSynonym
Link copied to clipboard
open fun addSynonym(@NotNull() p0: @NotNull() Supplier<@Nls() String>)
addTextOverride
Link copied to clipboard
open fun addTextOverride(@NotNull() p0: @NotNull() String, @NotNull() p1: @NotNull() Supplier<String>)
open fun addTextOverride(@NotNull() p0: @NotNull() String, @NotNull() p1: @NotNull() String)
afterExpandGroup
Link copied to clipboard
@NotNull()
@ApiStatus.Experimental()
open fun afterExpandGroup(@NotNull() p0: @NotNull() MutableList<AnAction>, @NotNull() p1: @NotNull() UpdateSession): @NotNull() MutableList<AnAction>
applyTextOverride
Link copied to clipboard
@ApiStatus.Internal()
open fun applyTextOverride(@NotNull() p0: @NotNull() AnActionEvent)
@ApiStatus.Internal()
open fun applyTextOverride(@NotNull() p0: @NotNull() String, @NotNull() p1: @NotNull() Presentation)
beforeActionPerformedUpdate
Link copied to clipboard
open fun beforeActionPerformedUpdate(@NotNull() p0: @NotNull() AnActionEvent)
canBePerformed
Link copied to clipboard
open override fun canBePerformed(context: DataContext): Boolean
Returns true.
copyActionTextOverride
Link copied to clipboard
@ApiStatus.Internal()
open fun copyActionTextOverride(@NotNull() p0: @NotNull() String, @NotNull() p1: @NotNull() String, p2: String)
copyActionTextOverrides
Link copied to clipboard
@ApiStatus.Internal()
open fun copyActionTextOverrides(p0: AnAction)
copyFrom
Link copied to clipboard
fun copyFrom(@NotNull() p0: @NotNull() AnAction)
copyShortcutFrom
Link copied to clipboard
fun copyShortcutFrom(@NotNull() p0: @NotNull() AnAction)
createTemplatePresentation
Link copied to clipboard
@NotNull()
open fun createTemplatePresentation(): @NotNull() Presentation
disableIfNoVisibleChildren
Link copied to clipboard
open fun disableIfNoVisibleChildren(): Boolean
displayTextInToolbar
Link copied to clipboard
open fun displayTextInToolbar(): Boolean
firePropertyChange
Link copied to clipboard
fun firePropertyChange(p0: String, p1: Any, p2: Any)
getChildren
Link copied to clipboard
open override fun getChildren(event: AnActionEvent?): Array<AnAction>
Returns the insert action, array insert action, and settings action.
open fun getChildren(@Nullable() p0: @Nullable() AnActionEvent?, @NotNull() p1: @NotNull() ActionManager): @NotNull() Array<AnAction>
getShortcutSet
Link copied to clipboard
@NotNull()
fun getShortcutSet(): @NotNull() ShortcutSet
getSynonyms
Link copied to clipboard
@NotNull()
open fun getSynonyms(): @NotNull() MutableList<Supplier<@Nls() String>>
getTemplatePresentation
Link copied to clipboard
@NotNull()
fun getTemplatePresentation(): @NotNull() Presentation
getTemplateText
Link copied to clipboard
@Nullable()
open fun getTemplateText(): @Nullable() String?
hideIfNoVisibleChildren
Link copied to clipboard
open fun hideIfNoVisibleChildren(): Boolean
isDefaultIcon
Link copied to clipboard
open fun isDefaultIcon(): Boolean
isDumbAware
Link copied to clipboard
open override fun isDumbAware(): Boolean
isEnabledInModalContext
Link copied to clipboard
fun isEnabledInModalContext(): Boolean
isInInjectedContext
Link copied to clipboard
open fun isInInjectedContext(): Boolean
isPopup
Link copied to clipboard
open override fun isPopup(): Boolean
Returns true.
open fun isPopup(@NotNull() p0: @NotNull() String): Boolean
isPrimary
Link copied to clipboard
fun isPrimary(@NotNull() p0: @NotNull() AnAction): Boolean
isSearchable
Link copied to clipboard
open fun isSearchable(): Boolean
isTransparentUpdate
Link copied to clipboard
@ApiStatus.ScheduledForRemoval(inVersion = 2021.3)
open fun isTransparentUpdate(): Boolean
registerCustomShortcutSet
Link copied to clipboard
fun registerCustomShortcutSet(@NotNull() p0: @NotNull() ShortcutSet, @Nullable() p1: @Nullable() JComponent?)
fun registerCustomShortcutSet(@Nullable() p0: @Nullable() JComponent?, @Nullable() p1: @Nullable() Disposable?)
fun registerCustomShortcutSet(@NotNull() p0: @NotNull() ShortcutSet, @Nullable() p1: @Nullable() JComponent?, @Nullable() p2: @Nullable() Disposable?)
fun registerCustomShortcutSet(p0: Int, p1: Int, @Nullable() p2: @Nullable() JComponent?)
removePropertyChangeListener
Link copied to clipboard
fun removePropertyChangeListener(@NotNull() p0: @NotNull() PropertyChangeListener)
replace
Link copied to clipboard
fun replace(@NotNull() p0: @NotNull() AnAction, @NotNull() p1: @NotNull() AnAction)
setAsPrimary
Link copied to clipboard
fun setAsPrimary(@NotNull() p0: @NotNull() AnAction, p1: Boolean)
setDefaultIcon
Link copied to clipboard
open fun setDefaultIcon(p0: Boolean)
setEnabledInModalContext
Link copied to clipboard
fun setEnabledInModalContext(p0: Boolean)
setInjectedContext
Link copied to clipboard
open fun setInjectedContext(p0: Boolean)
setPopup
Link copied to clipboard
fun setPopup(p0: Boolean)
setSearchable
Link copied to clipboard
open fun setSearchable(p0: Boolean)
setShortcutSet
Link copied to clipboard
open fun setShortcutSet(@NotNull() p0: @NotNull() ShortcutSet)
startInTransaction
Link copied to clipboard
open fun startInTransaction(): Boolean
toString
Link copied to clipboard
@Nls()
open override fun toString(): @Nls() String
unregisterCustomShortcutSet
Link copied to clipboard
fun unregisterCustomShortcutSet(@NotNull() p0: @NotNull() JComponent)
update
Link copied to clipboard
open override fun update(event: AnActionEvent)
Sets the title of this action.
useSmallerFontForTextInToolbar
Link copied to clipboard
open fun useSmallerFontForTextInToolbar(): Boolean

Properties

insertAction
Link copied to clipboard
abstract val insertAction: DataInsertAction
The action used to insert single data.
insertArrayAction
Link copied to clipboard
abstract val insertArrayAction: DataInsertArrayAction
The action used to insert arrays of data.
insertRepeatAction
Link copied to clipboard
abstract val insertRepeatAction: DataInsertRepeatAction
The action used to insert repeated single data.
insertRepeatArrayAction
Link copied to clipboard
abstract val insertRepeatArrayAction: DataInsertRepeatArrayAction
The action used to insert repeated arrays of data.
quickSwitchArraySchemeAction
Link copied to clipboard
abstract val quickSwitchArraySchemeAction: DataQuickSwitchSchemeAction<*>
The action used to quickly switch between array schemes.
quickSwitchSchemeAction
Link copied to clipboard
abstract val quickSwitchSchemeAction: DataQuickSwitchSchemeAction<*>
The action used to quickly switch between schemes of this data type.
settingsAction
Link copied to clipboard
abstract val settingsAction: DataSettingsAction
The action used to edit the generator settings for this data type.

Inheritors

DecimalGroupAction
Link copied to clipboard
IntegerGroupAction
Link copied to clipboard
StringGroupAction
Link copied to clipboard
UuidGroupAction
Link copied to clipboard
WordGroupAction
Link copied to clipboard

Sources

jvm source
Link copied to clipboard