File file = datum.getFile();
String label = file.getName();
ImageDatumType type = datum.getType();
String tag = type.toString();
ImageMetadata meta = datum.getMetadata(true);
int rating = meta.getRating();
boolean selected = selection.isSelected(datum);
renderer.paint(g, image, label, tag, rating, rect, selected);
ImageGroup group = datum.getGroup();
if (group.isNonTrivial()) {