void (@NotNull AnActionEvent e) { final Project project = e.getData(CommonDataKeys.PROJECT); if (project == null) { return; } final ProjectWindowAction windowAction = findWindowAction(project.getPresentableUrl()); if (windowAction == null) { return; } final ProjectWindowAction next = windowAction.getNext(); if (next != null) { next.setSelected(e, true); } }