String (boolean focusEditor) { VirtualFile file = getVirtualFile(); Project project = getProject(); if (file != null && project != null) { if (ProjectRootsUtil.isModuleContentRoot(file, project) || ProjectRootsUtil.isModuleSourceRoot(file, project)) { return ActionsBundle.message("action.ModuleSettings.navigate"); } if (ProjectRootsUtil.isLibraryRoot(file, project)) { return ActionsBundle.message("action.LibrarySettings.navigate"); } } return null; }