Package actions
Class ConfigAction
java.lang.Object
com.intellij.openapi.actionSystem.AnAction
actions.ConfigAction
- All Implemented Interfaces:
com.intellij.openapi.actionSystem.ActionUpdateThreadAware
,com.intellij.openapi.project.PossiblyDumbAware
public class ConfigAction
extends com.intellij.openapi.actionSystem.AnAction
This class is the action for configuring the application.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.intellij.openapi.actionSystem.AnAction
com.intellij.openapi.actionSystem.AnAction.TransparentUpdate
Nested classes/interfaces inherited from interface com.intellij.openapi.actionSystem.ActionUpdateThreadAware
com.intellij.openapi.actionSystem.ActionUpdateThreadAware.Recursive
-
Field Summary
Fields inherited from class com.intellij.openapi.actionSystem.AnAction
ACTIONS_KEY, EMPTY_ARRAY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
actionPerformed
(@NotNull com.intellij.openapi.actionSystem.AnActionEvent e) This method is called when the action is performed.static void
setIsEnabled
(boolean isEnabled) void
update
(@NotNull com.intellij.openapi.actionSystem.AnActionEvent e) Methods inherited from class com.intellij.openapi.actionSystem.AnAction
addSynonym, addTextOverride, addTextOverride, applyTextOverride, applyTextOverride, beforeActionPerformedUpdate, copyActionTextOverride, copyActionTextOverrides, copyFrom, copyShortcutFrom, displayTextInToolbar, getActionUpdateThread, getEventProject, getShortcutSet, getSynonyms, getTemplatePresentation, getTemplateText, isDefaultIcon, isDumbAware, isEnabledInModalContext, isInInjectedContext, isTransparentUpdate, registerCustomShortcutSet, registerCustomShortcutSet, registerCustomShortcutSet, registerCustomShortcutSet, setDefaultIcon, setEnabledInModalContext, setInjectedContext, setShortcutSet, startInTransaction, toString, unregisterCustomShortcutSet, useSmallerFontForTextInToolbar
-
Field Details
-
isEnabled
private static boolean isEnabled
-
-
Constructor Details
-
ConfigAction
public ConfigAction()
-
-
Method Details
-
update
public void update(@NotNull @NotNull com.intellij.openapi.actionSystem.AnActionEvent e) - Overrides:
update
in classcom.intellij.openapi.actionSystem.AnAction
-
actionPerformed
public void actionPerformed(@NotNull @NotNull com.intellij.openapi.actionSystem.AnActionEvent e) This method is called when the action is performed. It will show the configuration dialog.- Specified by:
actionPerformed
in classcom.intellij.openapi.actionSystem.AnAction
- Parameters:
e
- The action event.
-
setIsEnabled
public static void setIsEnabled(boolean isEnabled)
-