ExportAction

abstract class ExportAction : AnAction

Abstract class that provides common functionality for any action that exports data. Derived classes are expected to define what specific export action should be performed.

Inheritors

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
abstract fun actionPerformed(p: @NotNull AnActionEvent)
Link copied to clipboard
open fun addSynonym(text: @NotNull Supplier<@Nls String>)
Link copied to clipboard
open fun addTextOverride(place: @NotNull String, text: @NotNull String)
Link copied to clipboard
open fun applyTextOverride(event: @NotNull AnActionEvent)
Link copied to clipboard
open fun beforeActionPerformedUpdate(e: @NotNull AnActionEvent)
Link copied to clipboard
open fun copyActionTextOverride(fromPlace: @NotNull String, toPlace: @NotNull String, id: String)
Link copied to clipboard
fun copyFrom(sourceAction: @NotNull AnAction)
Link copied to clipboard
fun copyShortcutFrom(sourceAction: @NotNull AnAction)
Link copied to clipboard
Link copied to clipboard
open fun getEventProject(e: AnActionEvent): @Nullable Project
Link copied to clipboard
fun getShortcutSet(): @NotNull ShortcutSet
Link copied to clipboard
open fun getSynonyms(): @NotNull List<Supplier<@Nls String>>
Link copied to clipboard
fun getTemplatePresentation(): @NotNull Presentation
Link copied to clipboard
open fun getTemplateText(): @Nullable String
Link copied to clipboard
Link copied to clipboard
open fun isDumbAware(): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun previousAction(@NotNull event: @NotNull AnActionEvent): Boolean
Prepares the context for the action to be performed.
Link copied to clipboard
fun registerCustomShortcutSet(shortcutSet: @NotNull ShortcutSet, component: @Nullable JComponent)
Link copied to clipboard
open fun setDefaultIcon(isDefaultIconSet: Boolean)
Link copied to clipboard
open fun setInjectedContext(worksInInjected: Boolean)
Link copied to clipboard
Link copied to clipboard
open fun toString(): @Nls String
Link copied to clipboard
fun unregisterCustomShortcutSet(component: @NotNull JComponent)
Link copied to clipboard
open fun update(e: @NotNull AnActionEvent)

Properties

Link copied to clipboard
val ACTIONS_KEY: Key<List<AnAction>>
Link copied to clipboard
val EMPTY_ARRAY: Array<AnAction>