spm.beginTask("Getting relationship definitions...", fields.length);
for (Field element : fields) {
if (spm != null) {
spm.worked(1);
}
spm.subTask("Getting " + element.getLabel() + " definition...");
TreeItem thisChild =
createTreeItemChild(childFields, element.getLabel(), true, 0, false, childFieldType);
thisChild.setData(FQN, fieldPrefix + "." + element.getName());
thisChild.setData("field", element);
}