void (JList<? extends AnAction> list, AnAction value, boolean isSelected) { if (myTextLabel != null) { myTextLabel.setText(value.getTemplateText()); myTextLabel.setIcon(value.getTemplatePresentation().getIcon()); } }