abstract class DataInsertArrayAction : DataInsertAction
Inserts randomly generated arrays of strings at the event's editor's carets.
arrayScheme
- the scheme to use for generating arrays
dataInsertAction
- the action to generate data with
icon
- the icon to display with the action
DataInsertArrayAction(arrayScheme: ArrayScheme, dataInsertAction: DataInsertAction, icon: Icon = RandomnessIcons.Data.Array)
Inserts randomly generated arrays 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 array-like strings of random data. |
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 ArrayAction : DataInsertArrayAction
Inserts an array-like string of decimals. |
|
class ArrayAction : DataInsertArrayAction
Inserts an array-like string of integers. |
|
class ArrayAction : DataInsertArrayAction
Inserts an array-like string of strings. |
|
class ArrayAction : DataInsertArrayAction
Inserts an array-like string of UUIDs. |
|
class ArrayAction : DataInsertArrayAction
Inserts an array-like string of words. |
|
class DummyInsertArrayAction : DataInsertArrayAction
Inserts an array of dummy values. |