Label name = new Label(cName + " is " + aName);
name.setStyleName("tty-CapabilitiesContainerTitle");
panel.add(name);
for (Capability capability : targetCell.getCapabilities()) {
RiskCapabilityWidget widget = new RiskCapabilityWidget(capability,
RiskUtil.getRiskText((capability)));
widget.setRiskContent(new Label(RiskUtil.getRiskExplanation(capability)));
panel.add(widget);
}
return panel;
}