collection.add(new InventoryObject("Dummy Item", 0.0, false));
final BeanItemContainer<InventoryObject> tableContainer = new BeanItemContainer<InventoryObject>(
collection);
table.setContainerDataSource(tableContainer);
table.setVisibleColumns(new String[] { "name", "weight" });
table.removeAllItems();
// Allow the table to receive drops and handle them
table.setDropHandler(new DropHandler() {
@Override
public AcceptCriterion getAcceptCriterion() {