@Override
        public void updateAction(final @NotNull AnActionEvent e) {
          e.getPresentation().setEnabled(ListUtil.canRemoveSelectedItems(myList, myEnableCondition));
        }
@Override
        public void updateAction(final @NotNull AnActionEvent e)