void (@NotNull AnActionEvent e) { Project project = e.getProject(); if (project == null) return; String toolWindowId = ServiceViewManager.getInstance(project).getToolWindowId(myContributor.getClass()); if (toolWindowId == null) return; ToolWindow toolWindow = ToolWindowManager.getInstance(project).getToolWindow(toolWindowId); if (toolWindow != null) { toolWindow.activate(() -> { ServiceViewContentHolder holder = ((ServiceViewManagerImpl)ServiceViewManager.getInstance(project)).getContentHolder(myContributor.getClass()); if (holder != null) { selectContentByContributor(holder.contentManager, myContributor); } }); } }