abstract class DataInsertAction : AnAction
Inserts randomly generated strings at the event's editor's carets.
icon
- the icon to display with the action
DataInsertAction(icon: Icon)
Inserts randomly generated 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 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 randomly generated arrays of strings at the event's editor's carets. |
|
abstract class DataInsertRepeatAction : DataInsertAction
Inserts the same randomly generated string at the event's editor's carets. |
|
abstract class DataInsertRepeatArrayAction : DataInsertAction
Inserts the same randomly generated array of strings at the event's editor's carets. |
|
class DecimalInsertAction : DataInsertAction
Inserts random decimals. |
|
class DummyInsertAction : DataInsertAction
Inserts a dummy value. |
|
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. |