fix formatting

This commit is contained in:
Grahame Grieve 2019-12-18 11:31:32 +11:00
parent 94895fe877
commit ba3e270c6c
1 changed files with 5 additions and 3 deletions

View File

@ -5140,18 +5140,20 @@ public class ProfileUtilities extends TranslatingUtilities {
rows.add(row);
row.setAnchor(span.getId());
//row.setColor(..?);
if (span.isProfile())
if (span.isProfile()) {
row.setIcon("icon_profile.png", HierarchicalTableGenerator.TEXT_ICON_PROFILE);
else
} else {
row.setIcon("icon_resource.png", HierarchicalTableGenerator.TEXT_ICON_RESOURCE);
}
row.getCells().add(gen.new Cell(null, null, span.getName(), null, null));
row.getCells().add(gen.new Cell(null, null, span.getCardinality(), null, null));
row.getCells().add(gen.new Cell(null, span.getProfileLink(), span.getType(), null, null));
row.getCells().add(gen.new Cell(null, null, span.getDescription(), null, null));
for (SpanEntry child : span.getChildren())
for (SpanEntry child : span.getChildren()) {
genSpanEntry(gen, row.getSubRows(), child);
}
}