diff options
author | Jani Laakso <jani.laakso@itmill.com> | 2008-02-06 13:06:00 +0000 |
---|---|---|
committer | Jani Laakso <jani.laakso@itmill.com> | 2008-02-06 13:06:00 +0000 |
commit | d1cf6e4334f78b22923c2f935fa35e1062a73bdc (patch) | |
tree | d2811d035dc7bff365c54f30836cd797f384f0f9 /src/com/itmill/toolkit/ui/Form.java | |
parent | c9ac55500aeb1a54b6153dff7c197da83ebac2e9 (diff) | |
download | vaadin-framework-d1cf6e4334f78b22923c2f935fa35e1062a73bdc.tar.gz vaadin-framework-d1cf6e4334f78b22923c2f935fa35e1062a73bdc.zip |
1. Removed obsolete dependency framework methods and interface definitions.
2. "Undeprecated" reflection based listeners, we still wish to support these.
But I noted on javadoc that using these methods is discouraged and suggested better methods.
svn changeset:3718/svn branch:trunk
Diffstat (limited to 'src/com/itmill/toolkit/ui/Form.java')
-rw-r--r-- | src/com/itmill/toolkit/ui/Form.java | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/com/itmill/toolkit/ui/Form.java b/src/com/itmill/toolkit/ui/Form.java index 4ceebcb186..f818c99481 100644 --- a/src/com/itmill/toolkit/ui/Form.java +++ b/src/com/itmill/toolkit/ui/Form.java @@ -368,7 +368,6 @@ public class Form extends AbstractField implements Item.Editor, Buffered, Item, public void addField(Object propertyId, Field field) { if (propertyId != null && field != null) { - dependsOn(field); fields.put(propertyId, field); propertyIds.addLast(propertyId); field.setReadThrough(readThrough); @@ -437,7 +436,6 @@ public class Form extends AbstractField implements Item.Editor, Buffered, Item, if (field != null) { propertyIds.remove(id); fields.remove(id); - removeDirectDependency(field); layout.removeComponent(field); return true; } @@ -672,9 +670,6 @@ public class Form extends AbstractField implements Item.Editor, Buffered, Item, // Replaces the old field with new one layout.replaceComponent(oldField, newField); fields.put(propertyId, newField); - removeDirectDependency(oldField); - dependsOn(newField); - newField.dependsOn(this); return newField; } |