Component (@NotNull JList list, Object value, int index, boolean selected, boolean focused) { super.getListCellRendererComponent(list, value, index, selected, focused); Icon icon = null; String actionId = (String)value; if (QuickList.SEPARATOR_ID.equals(actionId)) { setText("-------------"); } else { AnAction action = ActionManager.getInstance().getAction(actionId); setText(action != null ? action.getTemplatePresentation().getText() : actionId); if (action != null) { Icon actionIcon = action.getTemplatePresentation().getIcon(); if (actionIcon != null) { icon = actionIcon; } } if (actionId.startsWith(QuickList.QUICK_LIST_PREFIX)) { icon = null; // AllIcons.Actions.QuickList; } setIcon(ActionsTree.getEvenIcon(icon)); } return this; }