]> source.dussan.org Git - vaadin-framework.git/commitdiff
Fixed #1046 : Removed references to non-existing Container.Managed
authorJoonas Lehtinen <joonas.lehtinen@itmill.com>
Sat, 14 Jun 2008 18:36:59 +0000 (18:36 +0000)
committerJoonas Lehtinen <joonas.lehtinen@itmill.com>
Sat, 14 Jun 2008 18:36:59 +0000 (18:36 +0000)
svn changeset:4886/svn branch:trunk

src/com/itmill/toolkit/data/Container.java
src/com/itmill/toolkit/ui/AbstractSelect.java

index 80fe984c147864ae7039bc6095cc056c2ad7d893..d3b2921d7b3cedd2b8602d952e82fa061f99e776 100644 (file)
@@ -19,7 +19,8 @@ import java.util.Collection;
  * {@link Item#getItemPropertyIds()}).
  * <li>all Properties in the Items corresponding to the same Property ID must
  * have the same data type.
- * <li>All Items within a container are uniquely identified by their non-null ids
+ * <li>All Items within a container are uniquely identified by their non-null
+ * ids
  * </ul>
  * 
  * <p>
@@ -468,10 +469,7 @@ public interface Container {
                 throws UnsupportedOperationException;
 
         /**
-         * Tests if the Item with given ID can have any children. If the
-         * Container also implements the <code>Managed</code> interface, the
-         * items created with <code>newItem</code> can have children by
-         * default.
+         * Tests if the Item with given ID can have any children.
          * 
          * @param itemId
          *                ID of the Item in the container whose child capability
@@ -632,9 +630,7 @@ public interface Container {
 
     /**
      * An <code>Event</code> object specifying the Container whose Item set
-     * has changed. Note that these events are triggered only through succesful
-     * calls to the <code>newItem</code> and <code>removeAllItems</code>
-     * methods in the Container.Managed interface.
+     * has changed.
      */
     public interface ItemSetChangeEvent {
 
@@ -696,11 +692,6 @@ public interface Container {
     /**
      * An <code>Event</code> object specifying the Container whose Property
      * set has changed.
-     * <p>
-     * Note: These events are triggered only through succesful calls to the
-     * <code>addProperty</code> and <code>removeProperty</code> methods in
-     * the Container.Managed interface.
-     * </p>
      */
     public interface PropertySetChangeEvent {
 
index 161204e0122f3a134d866a352d4554b04c4f5bfa..fc7acaff3042398495be9965396ea880ae4ce9a9 100644 (file)
@@ -356,7 +356,7 @@ public abstract class AbstractSelect extends AbstractField implements
      *      java.util.Map)
      */
     public void changeVariables(Object source, Map variables) {
-       super.changeVariables(source, variables);
+        super.changeVariables(source, variables);
 
         // New option entered (and it is allowed)
         final String newitem = (String) variables.get("newitem");
@@ -703,8 +703,6 @@ public abstract class AbstractSelect extends AbstractField implements
         return items.getContainerProperty(itemId, propertyId);
     }
 
-    /* Container.Managed methods ******************************************** */
-
     /**
      * Adds the new property to all items. Adds a property with given id, type
      * and default value to all items in the container.
@@ -955,8 +953,7 @@ public abstract class AbstractSelect extends AbstractField implements
     /**
      * Does the select allow adding new options by the user. If true, the new
      * options can be added to the Container. The text entered by the user is
-     * used as id. No that data-source must allow adding new items (it must
-     * implement Container.Managed).
+     * used as id. No that data-source must allow adding new items.
      * 
      * @return True if additions are allowed.
      */