@Override
    public void update(@NotNull AnActionEvent e) {
      super.update(e);
      DefaultMutableTreeNode node = (DefaultMutableTreeNode)myActionsTree.getLeadSelectionPath().getLastPathComponent();
      boolean isGroup = CustomizationUtil.getGroupForNode(node) != null;

      if (isGroup) {
        e.getPresentation().setText(IdeBundle.messagePointer("group.customizations.add.action.group"));
      }
      else {
        e.getPresentation().setText(IdeBundle.messagePointer("group.customizations.add.action.below"));
      }
    }
@Override
    public void update(@NotNull AnActionEvent e)