void (@NotNull Project project, @TabTitle @NotNull String title, @NotNull List<? extends FilePath> files) { IntersectingLocalChangesPanel intersectingPanel = new IntersectingLocalChangesPanel(project, files); Content content = ContentFactory.getInstance().createContent(intersectingPanel.myPanel, title, true); ToolWindow toolWindow = ToolWindowManager.getInstance(project).getToolWindow(ChangesViewContentManager.TOOLWINDOW_ID); addContent(toolWindow.getContentManager(), content, true); toolWindow.activate(null); }