AddButton

private inner class AddButton : AnActionButton(source)

Displays a popup to add a scheme, or immediately adds a template if nothing is currently selected.

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
private abstract inner class AbstractPopupStep(schemes: List<Scheme>) : BaseListPopupStep<Scheme>

A PopupStep for a list of Schemes that can be inserted.

Link copied to clipboard
private inner class MainPopupStep(val templatesOnly: Boolean) : TemplateJTree.AddButton.AbstractPopupStep

The top-level PopupStep, which includes the default templates and various reference types.

Link copied to clipboard

A PopupStep that contains a TemplateReference for each Template that can currently be referenced from selectedTemplate.

Link copied to clipboard

A PopupStep that shows only the default templates.

Functions

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

Displays a popup to add a scheme, or immediately adds a template if nothing is currently selected.

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

Specifies the thread in which update is invoked.

Link copied to clipboard
open override fun getShortcut(): @NotNull ShortcutSet

Returns the shortcut for this action.

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

Updates the presentation of the button.