void (@NotNull Content content) { StartupManager.getInstance(myProject).runWhenProjectIsInitialized(() -> { myContentManager.addContent(content); myContentManager.setSelectedContent(content); ToolWindowManager.getInstance(myProject).getToolWindow(ToolWindowId.ANALYZE_DEPENDENCIES).activate(null); }); }