From: Joonas Lehtinen Date: Sat, 14 Jun 2008 18:36:59 +0000 (+0000) Subject: Fixed #1046 : Removed references to non-existing Container.Managed X-Git-Tag: 6.7.0.beta1~4590 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=2c9d04e697ee83d8a8e653f6f9b98de0a271ed5c;p=vaadin-framework.git Fixed #1046 : Removed references to non-existing Container.Managed svn changeset:4886/svn branch:trunk --- diff --git a/src/com/itmill/toolkit/data/Container.java b/src/com/itmill/toolkit/data/Container.java index 80fe984c14..d3b2921d7b 100644 --- a/src/com/itmill/toolkit/data/Container.java +++ b/src/com/itmill/toolkit/data/Container.java @@ -19,7 +19,8 @@ import java.util.Collection; * {@link Item#getItemPropertyIds()}). *
  • all Properties in the Items corresponding to the same Property ID must * have the same data type. - *
  • All Items within a container are uniquely identified by their non-null ids + *
  • All Items within a container are uniquely identified by their non-null + * ids * * *

    @@ -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 Managed interface, the - * items created with newItem 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 Event object specifying the Container whose Item set - * has changed. Note that these events are triggered only through succesful - * calls to the newItem and removeAllItems - * methods in the Container.Managed interface. + * has changed. */ public interface ItemSetChangeEvent { @@ -696,11 +692,6 @@ public interface Container { /** * An Event object specifying the Container whose Property * set has changed. - *

    - * Note: These events are triggered only through succesful calls to the - * addProperty and removeProperty methods in - * the Container.Managed interface. - *

    */ public interface PropertySetChangeEvent { diff --git a/src/com/itmill/toolkit/ui/AbstractSelect.java b/src/com/itmill/toolkit/ui/AbstractSelect.java index 161204e012..fc7acaff30 100644 --- a/src/com/itmill/toolkit/ui/AbstractSelect.java +++ b/src/com/itmill/toolkit/ui/AbstractSelect.java @@ -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. */