@Override
    public void actionPerformed(@NotNull AnActionEvent e) {
      DateFilterComponent dateComponent = new DateFilterComponent();
      VcsLogDateFilter currentFilter = myFilterModel.getFilter();
      if (currentFilter != null) {
        if (currentFilter.getBefore() != null) {
          dateComponent.setBefore(currentFilter.getBefore().getTime());
        }
        if (currentFilter.getAfter() != null) {
          dateComponent.setAfter(currentFilter.getAfter().getTime());
        }
      }

      DialogBuilder db = new DialogBuilder(DateFilterPopupComponent.this);
      db.addOkAction();
      db.setCenterPanel(dateComponent.getPanel());
      db.setPreferredFocusComponent(dateComponent.getPanel());
      db.setTitle(VcsLogBundle.message("vcs.log.date.filter.select.period.dialog.title"));
      if (DialogWrapper.OK_EXIT_CODE == db.show()) {
        VcsLogDateFilter dateFilter = VcsLogFilterObject.fromDates(dateComponent.getAfter(), dateComponent.getBefore());
        if (dateFilter.getAfter() != null || dateFilter.getBefore() != null) {
          myFilterModel.setFilter(dateFilter);
        }
      }
    }
@Override
    public void actionPerformed(@NotNull AnActionEvent e)