attr2.getTooltip() +
"<br/><br/><div align=\"right\">(" +attr2.getUri()+ ")</div>";
TLabel tlabel = new TLabel(label, editing && attr2.isRequired(), tooltip);
HorizontalPanel hpRelated = new HorizontalPanel();
hpRelated.add(tlabel);
hpRelated.add(resourceTypeRelatedField);
panel.setWidget(row, 0, hpRelated);
// panel.setWidget(row, 0, tlabel);
// panel.setWidget(row, 0, resourceTypeRelatedField);
// panel.getFlexCellFormatter().setWidth(row, 0, "250");
panel.getFlexCellFormatter().setAlignment(row, 0,
HasHorizontalAlignment.ALIGN_LEFT, HasVerticalAlignment.ALIGN_MIDDLE
);
// panel.getFlexCellFormatter().setAlignment(row, 1,
// HasHorizontalAlignment.ALIGN_LEFT, HasVerticalAlignment.ALIGN_MIDDLE
// );
row++;
vp.add(panel);
//////////////////////////////////////////////////////////////
HorizontalPanel hp = new HorizontalPanel();
vp.add(hp);
hp.setSpacing(4);
if ( includeIsMapCheck ) {
hp.add(resourceTypeIsMap);
}
}