Author: [EMAIL PROTECTED]
Date: Tue Dec  9 06:31:36 2008
New Revision: 4275

Modified:
    releases/1.6/user/src/com/google/gwt/user/client/ui/Tree.java
    releases/1.6/user/test/com/google/gwt/user/client/ui/TreeTest.java

Log:
Removing deprecated setImageBase method from tree.

Modified: releases/1.6/user/src/com/google/gwt/user/client/ui/Tree.java
==============================================================================
--- releases/1.6/user/src/com/google/gwt/user/client/ui/Tree.java       
(original)
+++ releases/1.6/user/src/com/google/gwt/user/client/ui/Tree.java       Tue Dec 
  
9 06:31:36 2008
@@ -638,22 +638,6 @@
    }

    /**
-   * Sets the base URL under which this tree will find its default images.  
These
-   * images must be named "tree_white.gif", "tree_open.gif", and
-   * "tree_closed.gif".
-   *
-   * @param baseUrl
-   * @deprecated Use [EMAIL PROTECTED] #Tree(TreeImages)} as it provides a 
more  
efficent
-   *             and manageable way to supply a set of images to be used  
within
-   *             a tree.
-   */
-  @Deprecated
-  public void setImageBase(String baseUrl) {
-    images = new ImagesFromImageBase(baseUrl);
-    root.updateStateRecursive();
-  }
-
-  /**
     * Selects a specified item.
     *
     * @param item the item to be selected, or <code>null</code> to deselect  
all

Modified: releases/1.6/user/test/com/google/gwt/user/client/ui/TreeTest.java
==============================================================================
--- releases/1.6/user/test/com/google/gwt/user/client/ui/TreeTest.java   
(original)
+++ releases/1.6/user/test/com/google/gwt/user/client/ui/TreeTest.java  Tue  
Dec  9 06:31:36 2008
@@ -280,12 +280,7 @@
      parent.addItem("child");
      t.addItem(parent);
      RootPanel.get().add(t);
-
-    // This was throwing UnsupportedOperationException at one point (just
-    // before the 1.5 release), because of additions to ImagePrototype. If
-    // that were to creep back in, we'd see an exception.
-    t.setImageBase("");
-
+
      // Make sure the parent open/close image actually got created (there's
      // no actual public image file to back this up, but it won't matter  
from
      // the standpoint of this test).

--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/Google-Web-Toolkit-Contributors
-~----------~----~----~----~------~----~------~--~---

Reply via email to