aboutsummaryrefslogtreecommitdiffstats
path: root/src/com/itmill/toolkit/ui/Form.java
diff options
context:
space:
mode:
authorJani Laakso <jani.laakso@itmill.com>2008-02-06 13:06:00 +0000
committerJani Laakso <jani.laakso@itmill.com>2008-02-06 13:06:00 +0000
commitd1cf6e4334f78b22923c2f935fa35e1062a73bdc (patch)
treed2811d035dc7bff365c54f30836cd797f384f0f9 /src/com/itmill/toolkit/ui/Form.java
parentc9ac55500aeb1a54b6153dff7c197da83ebac2e9 (diff)
downloadvaadin-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.java5
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;
}