setIcon(IconLoader.getInstance().getParameterIcon());
}
else if (value instanceof ReportFieldNode)
{
final ReportFieldNode fieldNode = (ReportFieldNode) value;
final ReportDataSchemaModel model = fieldNode.getDataSchemaModel();
final DataAttributes attributes = model.getDataSchema().getAttributes(fieldNode.getFieldName());
setToolTipText(fieldNode.getFieldClass().getSimpleName());
if (attributes == null)
{
setText(fieldNode.toString());
}
else
{
final String displayName = (String) attributes.getMetaAttribute
(MetaAttributeNames.Formatting.NAMESPACE, MetaAttributeNames.Formatting.LABEL,
String.class, model.getDataAttributeContext());
setText(formatFieldType(displayName, fieldNode.getFieldName(), fieldNode.getFieldClass()));
}
}
else if (value instanceof ReportQueryNode)
{