void (@NotNull JList<? extends FileType> list, FileType value, int index, boolean selected, boolean hasFocus) { if (value == null) { setIcon(AllIcons.Actions.Cancel); setText(XPathBundle.message("label.disabled")); } else { super.customize(list, value, index, selected, hasFocus); } }