@Nullable
    private static Component getEventComponent(@Nullable AnActionEvent e) {
      if (e == null) return null;
      SingleContentSupplier supplier = e.getData(SingleContentSupplier.KEY);
      return supplier != null ? supplier.getTabs().getComponent() : null;
    }
@Nullable
    private static Component getEventComponent(@Nullable AnActionEvent e)