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.TransparentUpdate

    Nested classes/interfaces inherited from interface com.intellij.openapi.actionSystem.ActionUpdateThreadAware

    com.intellij.openapi.actionSystem.ActionUpdateThreadAware.Recursive
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private boolean
     
    private static boolean
     

    Fields inherited from class com.intellij.openapi.actionSystem.ActionGroup

    EMPTY_GROUP

    Fields inherited from class com.intellij.openapi.actionSystem.AnAction

    ACTIONS_KEY, EMPTY_ARRAY
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    setIsEnabled(boolean isEnabled)
     
    void
    update(@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, replaceAction

    Methods inherited from class com.intellij.openapi.actionSystem.ActionGroup

    actionPerformed, canBePerformed, disableIfNoVisibleChildren, hideIfNoVisibleChildren, isPopup, isPopup, isPrimary, isSearchable, postProcessVisibleChildren, replace, setPopup, setSearchable

    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • 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 the AddLabelActions from the configuration file.
      Overrides:
      update in class com.intellij.openapi.actionSystem.AnAction
      Parameters:
      e - The action event.
    • setIsEnabled

      public static void setIsEnabled(boolean isEnabled)