FileHistoryRefresherI (@NotNull Project project, @NotNull FilePath path, @Nullable VcsRevisionNumber startingRevisionNumber) { JComponent component = ContentUtilEx.findContentComponent(getToolWindow(project).getContentManager(), comp -> comp instanceof FileHistoryContentPanel && sameHistories(((FileHistoryContentPanel)comp).getPath(), ((FileHistoryContentPanel)comp).getRevision(), path, startingRevisionNumber)); if (component == null) return null; DataProvider dataProvider = DataManagerImpl.getDataProviderEx(component); if (dataProvider == null) return null; return VcsInternalDataKeys.FILE_HISTORY_REFRESHER.getData(dataProvider); }