ToolWindow (@NotNull Project project) { ToolWindow toolWindow = ToolWindowManager.getInstance(project).getToolWindow(ChangesViewContentManager.TOOLWINDOW_ID); assert toolWindow != null : "Version Control ToolWindow should be available at this point."; return toolWindow; }