void (@NotNull PsiDirectory psiDirectory, boolean requestFocus) { if (Registry.is("ide.navigate.to.directory.into.project.pane")) { ProjectViewSelectInTarget.select(psiDirectory.getProject(), this, ProjectViewPane.ID, null, psiDirectory.getVirtualFile(), requestFocus); } else { SelectInTarget target = SelectInManager.findSelectInTarget(ToolWindowId.PROJECT_VIEW, psiDirectory.getProject()); if (target != null) target.selectIn(new FileSelectInContext(psiDirectory), requestFocus); } }