CellConstraints cc = new CellConstraints();
OrderCostsViewHandler orderCostsViewHandler = ((DeviationViewHandler) viewHandler)
.getOrderCostsViewHandler(presentationModel, addInternalCost,
true);
OrderCostsView orderCostsView = new OrderCostsView(
orderCostsViewHandler, false);
try {
builder.add(orderCostsView.buildPanel(window), cc.xy(1, 1));
} catch (ProTransException e) {
Util.showErrorDialog(window, "Feil", e.getMessage());
e.printStackTrace();
}
return builder.getPanel();