abstract class DataInsertRepeatArrayAction : DataInsertAction
Inserts the same randomly generated array of strings at the event's editor's carets.
dataInsertArrayAction
- the action to generate data with
icon
- the icon to display with the action
DataInsertRepeatArrayAction(dataInsertArrayAction: DataInsertArrayAction, icon: Icon = RandomnessIcons.Data.Array)
Inserts the same randomly generated array of strings at the event's editor's carets. |
abstract val name: String
The name of the action to display. |
|
var random: Random
The random generator used to generate random values. |
open fun generateStrings(count: Int): List<String>
Generates a random array-like string of random data and repeats it count times. |
open fun actionPerformed(event: AnActionEvent): Unit
Inserts the data generated by generateStrings at the caret(s) in the editor; one datum for each caret. |
|
fun generateString(): String
Generates a random datum. |
|
open fun update(event: AnActionEvent): Unit
Sets the title of this action and disables this action if no editor is currently opened. |
class DummyInsertRepeatArrayAction : DataInsertRepeatArrayAction
Inserts a repeated array of dummy values. |
|
class RepeatArrayAction : DataInsertRepeatArrayAction
Inserts repeated array-like strings of decimals. |
|
class RepeatArrayAction : DataInsertRepeatArrayAction
Inserts repeated array-like strings of integers. |
|
class RepeatArrayAction : DataInsertRepeatArrayAction
Inserts repeated array-like strings of strings. |
|
class RepeatArrayAction : DataInsertRepeatArrayAction
Inserts repeated array-like strings of UUIDs. |
|
class RepeatArrayAction : DataInsertRepeatArrayAction
Inserts repeated array-like strings of words. |