void (@NotNull AnActionEvent e) { VcsLogUsageTriggerCollector.triggerUsage(e, this); VcsLogManager logManager = e.getRequiredData(VcsLogInternalDataKeys.LOG_MANAGER); // diagnostic for possible refresh problems VcsLogUi ui = e.getRequiredData(VcsLogDataKeys.VCS_LOG_UI); if (ui instanceof VcsLogUiEx) { VisiblePackRefresher refresher = ((VcsLogUiEx)ui).getRefresher(); if (!refresher.isValid()) { String message = "Trying to refresh invalid log tab '" + ui.getId() + "'."; if (!logManager.getDataManager().getProgress().isRunning()) { LOG.error(message, collectDiagnosticInformation(e.getProject(), logManager)); } else { LOG.warn(message); } refresher.setValid(true, false); } } logManager.getDataManager().refresh(VcsLogUtil.getVisibleRoots(ui)); }