@Override
public void render(Listitem item, Object data) {
Order order = (Order) data;
item.setValue(data);
item.appendChild(new Listcell(order.getCode()));
item.appendChild(new Listcell(order.getName()));
Scenario scenario = source ? transferOrdersModel
.getSourceScenario() : transferOrdersModel
.getDestinationScenario();
item.appendChild(new Listcell(transferOrdersModel.getVersion(order,
scenario)));
if (source) {
Listcell cell = new Listcell();
cell.appendChild(getTransferButton(order));
item.appendChild(cell);
}
}