Package actions
Class AddLabelActionGroup
java.lang.Object
com.intellij.openapi.actionSystem.AnAction
com.intellij.openapi.actionSystem.ActionGroup
com.intellij.openapi.actionSystem.DefaultActionGroup
actions.AddLabelActionGroup
- All Implemented Interfaces:
com.intellij.openapi.actionSystem.ActionUpdateThreadAware,com.intellij.openapi.project.PossiblyDumbAware
public class AddLabelActionGroup
extends com.intellij.openapi.actionSystem.DefaultActionGroup
This class is the action group for adding labels.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.intellij.openapi.actionSystem.AnAction
com.intellij.openapi.actionSystem.AnAction.TransparentUpdateNested classes/interfaces inherited from interface com.intellij.openapi.actionSystem.ActionUpdateThreadAware
com.intellij.openapi.actionSystem.ActionUpdateThreadAware.Recursive -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanprivate static booleanFields inherited from class com.intellij.openapi.actionSystem.ActionGroup
EMPTY_GROUPFields inherited from class com.intellij.openapi.actionSystem.AnAction
ACTIONS_KEY, EMPTY_ARRAY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidsetIsEnabled(boolean isEnabled) voidupdate(@NotNull com.intellij.openapi.actionSystem.AnActionEvent e) This method is called when the action is performed.Methods inherited from class com.intellij.openapi.actionSystem.DefaultActionGroup
add, add, add, add, addAction, addAction, addAction, addAll, addAll, addAll, addAll, addSeparator, addSeparator, containsAction, copyFromGroup, createFlatGroup, createPopupGroup, createPopupGroupWithEmptyText, createUserDataAwareGroup, getChildActionsOrStubs, getChildren, getChildren, getChildrenCount, getModificationStamp, remove, remove, remove, removeAll, replaceActionMethods inherited from class com.intellij.openapi.actionSystem.ActionGroup
actionPerformed, canBePerformed, disableIfNoVisibleChildren, hideIfNoVisibleChildren, isPopup, isPopup, isPrimary, isSearchable, postProcessVisibleChildren, replace, setPopup, setSearchableMethods 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 -
defaultLabelsLoaded
private boolean defaultLabelsLoaded
-
-
Constructor Details
-
AddLabelActionGroup
public AddLabelActionGroup()
-
-
Method Details
-
update
public void update(@NotNull @NotNull com.intellij.openapi.actionSystem.AnActionEvent e) This method is called when the action is performed. It will register all theAddLabelActions from the configuration file.- Overrides:
updatein classcom.intellij.openapi.actionSystem.AnAction- Parameters:
e- The action event.
-
setIsEnabled
public static void setIsEnabled(boolean isEnabled)
-