diff options
-rw-r--r-- | src/com/itmill/toolkit/data/Container.java | 17 | ||||
-rw-r--r-- | src/com/itmill/toolkit/ui/AbstractSelect.java | 7 |
2 files changed, 6 insertions, 18 deletions
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()}). * <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 { 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. */ |