DefaultMutableTreeNode node = (DefaultMutableTreeNode) value;
Object nodeInfo = node.getUserObject();
if (nodeInfo instanceof Severity) {
Severity s = (Severity) nodeInfo;
setIcon(ImageProvider.get("data", s.getIcon()));
} else if (nodeInfo instanceof TestError) {
TestError error = (TestError) nodeInfo;
MultipleNameVisitor v = new MultipleNameVisitor();
v.visit(error.getPrimitives());
setText(v.getText());