Setting the default selection model in DefaultNodeInfo to null. Having a selection model per node is almost always incorrect. Users should supply a single Selectionmodel for the entire tree in most cases.

Review at http://gwt-code-reviews.appspot.com/657801

Review by: rice@google.com

git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@8326 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/user/src/com/google/gwt/view/client/TreeViewModel.java b/user/src/com/google/gwt/view/client/TreeViewModel.java
index 9349acc..1d1ac5d 100644
--- a/user/src/com/google/gwt/view/client/TreeViewModel.java
+++ b/user/src/com/google/gwt/view/client/TreeViewModel.java
@@ -46,7 +46,7 @@
      * @param cell the {@link Cell} used to render the child values
      */
     public DefaultNodeInfo(AbstractListViewAdapter<T> adapter, Cell<T> cell) {
-      this(adapter, cell, new SingleSelectionModel<T>(), null);
+      this(adapter, cell, null, null);
     }
 
     /**