String (String id, boolean presentable) { if (!isRoot() && StringUtil.equals(id, myId)) { return getName(presentable); } for (Object child : myChildren) { if (child instanceof QuickList) { child = ((QuickList)child).getActionId(); } if (child instanceof String) { if (id.equals(child)) { AnAction action = presentable ? ActionManager.getInstance().getActionOrStub(id) : null; String path; if (action != null) { path = action.getTemplatePresentation().getText(); } else { path = id; } return !isRoot() ? getName(presentable) + SETTINGS_GROUP_SEPARATOR + path : path; } } else if (child instanceof Group) { String path = ((Group)child).calcActionQualifiedPath(id, presentable); if (path != null) { return !isRoot() ? getName(presentable) + SETTINGS_GROUP_SEPARATOR + path : path; } } } return null; }