TemplateGroupAction

class TemplateGroupAction(val template: Template) : ActionGroup(source)

All actions related to inserting template-based strings.

Parameters

template

the template to create actions for

See also

Constructors

Link copied to clipboard
constructor(template: Template)

Properties

Link copied to clipboard
private val template: Template

Functions

Link copied to clipboard
open override fun actionPerformed(event: AnActionEvent)

Chooses one of the three actions to execute based on the key modifiers in event.

Link copied to clipboard
private fun getActionByModifier(array: Boolean = false, repeat: Boolean = false, settings: Boolean = false): AnAction

Returns the action that is appropriate for the given keyboard modifiers.

Link copied to clipboard
open override fun getActionUpdateThread(): ActionUpdateThread

Specifies the thread in which update is invoked.

Link copied to clipboard
open override fun getChildren(event: AnActionEvent?): Array<AnAction>

Returns variant actions for the main insertion action.

Link copied to clipboard
open override fun update(event: AnActionEvent)

Updates the event's presentation of this action.