abstract class DataInsertArrayAction : DataInsertAction
Inserts a randomly generated array of strings at the positions of the event's editor's carets.
arraySettings
- the settings to use for generating arrays
dataInsertAction
- the action to generate data with
DataInsertArrayAction(arraySettings: ArraySettings, dataInsertAction: DataInsertAction)
Inserts a randomly generated array of strings at the positions of the event's editor's carets. |
abstract val name: String
The name of the action to display. |
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 DecimalInsertArrayAction : DataInsertArrayAction
Inserts an array-like string of decimals. |
|
class IntegerInsertArrayAction : DataInsertArrayAction
Inserts an array-like string of integers. |
|
class StringInsertArrayAction : DataInsertArrayAction
Inserts an array-like string of strings. |
|
class UuidInsertArrayAction : DataInsertArrayAction
Inserts an array-like string of UUIDs. |
|
class WordInsertArrayAction : DataInsertArrayAction
Inserts an array-like string of words. |