void (@NotNull AnActionEvent e) { DataContext dataContext = e.getDataContext(); Project project = CommonDataKeys.PROJECT.getData(dataContext); if (project == null || project.isDisposed()) { return; } if (LightEdit.owns(project)) { LightEditService.getInstance().navigateToTab(this); return; } ToolWindowManager windowManager = ToolWindowManager.getInstance(project); if (windowManager.isEditorComponentActive()) { doNavigate(dataContext, project); return; } doNavigate(PlatformDataKeys.NONEMPTY_CONTENT_MANAGER.getData(dataContext)); }