Package-level declarations

Scheme consisting of other schemes.

Types

Link copied to clipboard

Constructor-less version of TemplateActionLoader, as is required in plugin.xml.

Link copied to clipboard
class StateNode(val state: State)

Represents a State in a TemplateJTreeModel.

Link copied to clipboard
data class Template(var name: String = DEFAULT_NAME, val schemes: MutableList<Scheme> = DEFAULT_SCHEMES, val arrayDecorator: ArrayDecorator = DEFAULT_ARRAY_DECORATOR) : Scheme

Generates random data by concatenating the random outputs of a list of Schemes.

Link copied to clipboard
open class TemplateActionLoader(val getTemplates: () -> List<Template> = { Settings.DEFAULT.templates }) : DynamicActionConfigurationCustomizer

Registers, replaces, and unregisters actions for the user's Templates so that they can be inserted using shortcuts.

Link copied to clipboard

Component for editing non-children-related aspects of a Template.

Link copied to clipboard
class TemplateGroupAction(val template: Template) : ActionGroup

All actions related to inserting template-based strings.

Link copied to clipboard
class TemplateInsertAction(val template: Template, val array: Boolean = false, repeat: Boolean = false) : InsertAction

Inserts random strings in the editor using the given template.

Link copied to clipboard
class TemplateJTree(val originalTemplateList: TemplateList, var currentTemplateList: TemplateList) : Tree

A tree containing Templates and Schemes.

Link copied to clipboard
class TemplateJTreeModel(list: TemplateList = TemplateList(mutableListOf())) : TreeModel, EditableModel, RowsDnDSupport.RefinedDropSupport

The underlying model of the TemplateJTree, which synchronizes its state with a TemplateList so that modifications to the model appear in the list and vice versa.

Link copied to clipboard
data class TemplateList(val templates: MutableList<Template> = DEFAULT_TEMPLATES) : State

A collection of different templates.

Link copied to clipboard
class TemplateListConfigurable : Configurable, Disposable

Tells IntelliJ how to use a TemplateListEditor to edit a TemplateList in the settings dialog.

Link copied to clipboard
class TemplateListEditor(val originalTemplateList: TemplateList = Settings.DEFAULT.templateList, initialSelection: String? = null) : Disposable

Component for editing a TemplateLists.

Link copied to clipboard
data class TemplateReference(var templateUuid: String? = null, var capitalization: CapitalizationMode = DEFAULT_CAPITALIZATION, val affixDecorator: AffixDecorator = DEFAULT_AFFIX_DECORATOR, val arrayDecorator: ArrayDecorator = DEFAULT_ARRAY_DECORATOR) : Scheme

A reference to an existing template, to allow using a template as if it were a scheme.

Link copied to clipboard
Link copied to clipboard
class TemplateSettingsAction(val template: Template? = null) : AnAction

Open the settings dialog to edit template.

Functions

Link copied to clipboard
fun selectSchemeInSettings(context: Component, scheme: Scheme?)

Selects scheme in the currently open TemplateListConfigurable, or does nothing if this is not possible for some reason.