@Override
    protected @NotNull VcsLogFilterCollection getFilters(@NotNull Project project, @NotNull AnActionEvent e) {
      VcsLogManager logManager = VcsProjectLog.getInstance(project).getLogManager();
      if (logManager == null) return VcsLogFilterObject.collection();

      Collection<? extends VcsLogUi> uis = ContainerUtil.filterIsInstance(logManager.getVisibleLogUis(VcsLogTabLocation.TOOL_WINDOW),
                                                                          MainVcsLogUi.class);
      if (uis.isEmpty()) return VcsLogFilterObject.collection();
      return ContainerUtil.getFirstItem(uis).getFilterUi().getFilters();
    }
@Override
    protected @NotNull VcsLogFilterCollection getFilters(@NotNull Project project, @NotNull AnActionEvent e)