abstract class DataInsertRepeatAction : DataInsertAction
Inserts the same randomly generated string at the event's editor's carets.
dataInsertAction
- the action to generate data with
icon
- the icon to display with the action
DataInsertRepeatAction(dataInsertAction: DataInsertAction, icon: Icon = RandomnessIcons.Data.Array)
Inserts the same randomly generated string 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 datum 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 DummyInsertRepeatAction : DataInsertRepeatAction
Inserts a repeated array of dummy values. |
|
class RepeatAction : DataInsertRepeatAction
Inserts repeated random decimals. |
|
class RepeatAction : DataInsertRepeatAction
Inserts repeated random integers. |
|
class RepeatAction : DataInsertRepeatAction
Inserts repeated random strings. |
|
class RepeatAction : DataInsertRepeatAction
Inserts repeated random UUIDs. |
|
class RepeatAction : DataInsertRepeatAction
Inserts repeated random words. |