final boolean cellHasFocus)
{
super.getListCellRendererComponent(list, value, index, isSelected, cellHasFocus);
if (value instanceof FunctionCategory)
{
final FunctionCategory cat = (FunctionCategory) value;
setText(cat.getDisplayName(Locale.getDefault()));
setToolTipText(cat.getDescription(Locale.getDefault()));
}
else
{
setText(Messages.getInstance().getString("FunctionCategoryCellRenderer.All"));
setToolTipText(null);