void (@NotNull Project project, @Nullable @NlsContexts.TabTitle String title, @NotNull LoadingCommittedChangeListPanel loadingPanel) { loadingPanel.hideSideBorders(); ChangesBrowserBase changesBrowser = loadingPanel.getChangesBrowser(); DiffPreview diffPreview = ChangesBrowserToolWindow.createDiffPreview(project, changesBrowser, loadingPanel); changesBrowser.setShowDiffActionPreview(diffPreview); Content content = ContentFactory.getInstance().createContent(loadingPanel.getContent(), title, false); content.setPreferredFocusableComponent(loadingPanel.getPreferredFocusedComponent()); content.setDisposer(loadingPanel); ChangesBrowserToolWindow.showTab(project, content); }