void (@NotNull JList<?> list, Object value, int index, boolean selected, boolean hasFocus) { if (value instanceof ToolsGroup) { // do nothing - see getListCellRendererComponent() } else if (value instanceof Tool) { append(StringUtil.notNullize(((Tool)value).getName()), ((Tool)value).isEnabled() ? REGULAR_ATTRIBUTES : GRAYED_ATTRIBUTES); } else { append(ToolsBundle.message("tools.list.item.none")); } }