public Object getValue(Object element, String property) {

		int columnIndex = OrderTableLabelProvider.getColumnNames().indexOf(property);

		Object result = null;
		Order order = (Order) element;
		switch (columnIndex) {
			case OrderTableLabelProvider.ORDER_NUMBER_COLUMN_IND :
				result = order.getOrderNumber();
				break;
			case OrderTableLabelProvider.ITEM_NUMBER_COLUMN_IND:
			  result = order.getItemNumber();
				break;
			case OrderTableLabelProvider.MACHINE_ID_COLUMN_IND:
        result = order.getMachineId();
        break;
			case OrderTableLabelProvider.DATE_COLUMN_IND: 
				result = order.getDate() == null ? "?" : AssemblyMonitoring.DISPLAY_DATE_FORMAT.format(order.getDate());
				break;
      case OrderTableLabelProvider.NUM_PLANED_ITEMS_COLUMN_IND: 
        result = order.getNumItemsPlanned() + "";
        break;
      case OrderTableLabelProvider.CYCLE_COLUMN_IND: 
        result = AssemblyMonitoring.DECIMAL_FORMAT.format(order.getCycle());
        break;
      case OrderTableLabelProvider.NUM_ACTIVE_CAVITIES_COLUMN_IND: 
        result = order.getNumActiveCavities() + "";
        break;
      case OrderTableLabelProvider.SHIFT_COLUMN_IND:
        result = order.getShift() + "";
        break;
			default :
				result = "";
		}
		return result;	
	}