Fix ExpensesCustomized after ListView.Delegate refactor.


git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@7922 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/bikeshed/src/com/google/gwt/sample/expenses/gwt/customized/CustomizedShell.java b/bikeshed/src/com/google/gwt/sample/expenses/gwt/customized/CustomizedShell.java
index 0098a44..ccfbde0 100644
--- a/bikeshed/src/com/google/gwt/sample/expenses/gwt/customized/CustomizedShell.java
+++ b/bikeshed/src/com/google/gwt/sample/expenses/gwt/customized/CustomizedShell.java
@@ -1,12 +1,12 @@
 /*
  * Copyright 2010 Google Inc.
- *
+ * 
  * Licensed under the Apache License, Version 2.0 (the "License"); you may not
  * use this file except in compliance with the License. You may obtain a copy of
  * the License at
- *
+ * 
  * http://www.apache.org/licenses/LICENSE-2.0
- *
+ * 
  * Unless required by applicable law or agreed to in writing, software
  * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
  * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
@@ -42,7 +42,8 @@
  * UI shell for expenses sample app. A horrible clump of stuff that should be
  * refactored into proper MVP pieces.
  */
-public class CustomizedShell extends Composite implements TakesValueList<Values<ReportKey>>, ReportChanged.Handler {
+public class CustomizedShell extends Composite implements
+    TakesValueList<Values<ReportKey>>, ReportChanged.Handler {
   interface Listener {
     void setPurpose(Values<ReportKey> report, String purpose);
   }
@@ -120,7 +121,10 @@
 
   @UiFactory
   PagingTableListView<Values<ReportKey>> createListView() {
-    return new PagingTableListView<Values<ReportKey>>(adapter, 10);
+    PagingTableListView<Values<ReportKey>> table = new PagingTableListView<Values<ReportKey>>(
+        adapter, 10);
+    adapter.addView(table);
+    return table;
   }
 
   private void refresh() {