intellij-randomness / com.fwdekker.randomness

Package com.fwdekker.randomness

Contains classes shared by all sub-packages.

Types

Cache

class Cache<K, V>

A simple thread-safe cache of objects.

CapitalizationMode

enum class CapitalizationMode

A mode in which a word should be capitalized.

DataGroupAction

abstract class DataGroupAction : ActionGroup

A group of actions for a particular type of random data that can be generated.

DataInsertAction

abstract class DataInsertAction : AnAction

Inserts randomly generated strings at the event's editor's carets.

DataInsertArrayAction

abstract class DataInsertArrayAction : DataInsertAction

Inserts randomly generated arrays of strings at the event's editor's carets.

DataInsertRepeatAction

abstract class DataInsertRepeatAction : DataInsertAction

Inserts the same randomly generated string at the event's editor's carets.

DataInsertRepeatArrayAction

abstract class DataInsertRepeatArrayAction : DataInsertAction

Inserts the same randomly generated array of strings at the event's editor's carets.

DataSettingsAction

abstract class DataSettingsAction : AnAction

Opens the settings window for changing settings.

DummyInsertAction

class DummyInsertAction : DataInsertAction

Inserts a dummy value.

DummyInsertArrayAction

class DummyInsertArrayAction : DataInsertArrayAction

Inserts an array of dummy values.

DummyInsertRepeatAction

class DummyInsertRepeatAction : DataInsertRepeatAction

Inserts a repeated array of dummy values.

DummyInsertRepeatArrayAction

class DummyInsertRepeatArrayAction : DataInsertRepeatArrayAction

Inserts a repeated array of dummy values.

PopupAction

class PopupAction : AnAction

Shows a popup for all available Randomness actions.

RandomnessConfigurable

class RandomnessConfigurable : Configurable

Randomness' root configurable; all other configurables are its children.

Scheme

interface Scheme<SELF> : Scheme

A scheme is a collection of configurable values.

SchemesPanel

abstract class SchemesPanel<T : Scheme<T>> : SimpleSchemesPanel<T>, SchemesModel<T>

A panel to manage schemes with, providing a dropdown box to select schemes from and buttons to remove, rename, etc. schemes.

Settings

interface Settings<SELF, SCHEME : Scheme<SCHEME>> : PersistentStateComponent<SELF>

Settings are composed of Schemes and persist these over IDE restarts.

SettingsComponent

abstract class SettingsComponent<S : Settings<S, T>, T : Scheme<T>> : SettingsManager<S>

A component that allows the user to edit settings and its corresponding schemes.

SettingsComponentListener

class SettingsComponentListener<S : Settings<S, T>, T : Scheme<T>> : SchemesPanel.Listener<T>

A Listener that takes events occurring in a SchemesPanel and handles them in a SettingsComponent.

SettingsConfigurable

abstract class SettingsConfigurable<S : Settings<S, T>, T : Scheme<T>> : Configurable

A configurable to change settings of type S.

SettingsManager

interface SettingsManager<S : Settings<*, *>>

A SettingsManager is an object that can save and load settings.

Exceptions

DataGenerationException

class DataGenerationException : Exception

Thrown if a random datum could not be generated.