QuantityLabel quantityForParentLabel = new QuantityLabel(calculationTreeNodeSummary.getParentQuantity() * calculationTreeNodeSummary.getQuantity());
HorizontalPanel quantityAndDamagePerJobPanel = new HorizontalPanel();
quantityAndDamagePerJobPanel.add(quantityForParentLabel);
BigDecimal damagePerJob = calculationTreeNodeSummary.getDamagePerJob();
if (BigDecimal.ONE.compareTo(damagePerJob) == 1) {
DamagePerJobLabel damagePerJobLabel = new DamagePerJobLabel(damagePerJob);
damagePerJobLabel.addStyleName(resources.css().damagePerJob());
quantityAndDamagePerJobPanel.add(damagePerJobLabel);
quantityAndDamagePerJobPanel.setCellVerticalAlignment(damagePerJobLabel, HasVerticalAlignment.ALIGN_BOTTOM);
}
rootCalculationItemTable.setWidget(index, 3, quantityAndDamagePerJobPanel);
rootCalculationItemTable.setWidget(index, 4, new Label("x"));