private static boolean _isSelectionClick(@NotNull MouseEvent e) {
    return e.getClickCount() == 1 && !e.isPopupTrigger() && e.getButton() == MouseEvent.BUTTON1
           && !e.isControlDown() && !e.isAltDown() && !e.isMetaDown();
  }
private static boolean _isSelectionClick(@NotNull MouseEvent e)