@Override
        public void valueChanged(@NotNull ListSelectionEvent e) {
          if (e.getValueIsAdjusting()) return;
          invalidateActions();
        }
@Override
        public void valueChanged(@NotNull ListSelectionEvent e)