private void ReportModelingElementFieldTypes(IProgressMessage progress, Tab tab, IFieldType fieldType)
        {
            FieldTypeReporter reporter = new FieldTypeReporter(fieldType);

            progress.Message = reporter.ToString();
            tab.Chidren.Add(reporter.ToJson());

            if (fieldType.FieldDataType().ToString() == "Collection")
            {
                ReportCollecionFieldTypes(progress, tab, fieldType);
            }
        }
 public FieldTypeReporter(IFieldType fieldType)
     : this(fieldType.Name, fieldType.Label, fieldType.Category, fieldType.Id, fieldType.FieldDataType().ToString(), "")
 {
     NumericFormatterName = fieldType.NumericFormatterName;
     Collection           = fieldType.IsCollectionMemberField;
     Enumerated           = fieldType.IsEnumeratedMemberField;
     ReadOnly             = fieldType.IsReadOnly;
     ParentFieldName      = fieldType.ParentCollectionFieldType == null ? "" : fieldType.ParentCollectionFieldType.ToString();
 }