abstract class DataInsertAction : AnAction
Inserts a randomly generated string at the positions of the event's editor's carets.
DataInsertAction()
Inserts a randomly generated string at the positions of the event's editor's carets. |
abstract val name: String
The name of the action to display. |
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. |
|
abstract fun generateStrings(count: Int = 1): List<String>
Generates random data. |
|
open fun update(event: AnActionEvent): Unit
Sets the title of this action and disables this action if no editor is currently opened. |
abstract class DataInsertArrayAction : DataInsertAction
Inserts a randomly generated array of strings at the positions of the event's editor's carets. |
|
class DecimalInsertAction : DataInsertAction
Inserts random decimals. |
|
class IntegerInsertAction : DataInsertAction
Inserts random integers. |
|
class StringInsertAction : DataInsertAction
Inserts random alphanumerical strings. |
|
class UuidInsertAction : DataInsertAction
Inserts random type 4 UUID. |
|
class WordInsertAction : DataInsertAction
Inserts random words. |