aboutsummaryrefslogtreecommitdiffstats
path: root/src/com/itmill/toolkit/ui/AbstractComponent.java
diff options
context:
space:
mode:
authorJoonas Lehtinen <joonas.lehtinen@itmill.com>2007-10-21 16:22:39 +0000
committerJoonas Lehtinen <joonas.lehtinen@itmill.com>2007-10-21 16:22:39 +0000
commit541ca111b0540309a78f8e2a8d15f93d00176bdf (patch)
treec428327c122c2e09d4ca57d67297af695706c5db /src/com/itmill/toolkit/ui/AbstractComponent.java
parent7e5f5ce69a52562740aec9a94632ca2086cf359d (diff)
downloadvaadin-framework-541ca111b0540309a78f8e2a8d15f93d00176bdf.tar.gz
vaadin-framework-541ca111b0540309a78f8e2a8d15f93d00176bdf.zip
Deprecated dependency-framework. Fixes #871
svn changeset:2574/svn branch:trunk
Diffstat (limited to 'src/com/itmill/toolkit/ui/AbstractComponent.java')
-rw-r--r--src/com/itmill/toolkit/ui/AbstractComponent.java41
1 files changed, 4 insertions, 37 deletions
diff --git a/src/com/itmill/toolkit/ui/AbstractComponent.java b/src/com/itmill/toolkit/ui/AbstractComponent.java
index 13d40bc23d..62a34ba453 100644
--- a/src/com/itmill/toolkit/ui/AbstractComponent.java
+++ b/src/com/itmill/toolkit/ui/AbstractComponent.java
@@ -114,11 +114,6 @@ public abstract class AbstractComponent implements Component, MethodEventSource
private ErrorMessage componentError = null;
/**
- * List of event variable change event handling dependencies.
- */
- private Set dependencies = null;
-
- /**
* Immediate mode: if true, all variable changes are required to be sent
* from the terminal immediately.
*/
@@ -692,39 +687,11 @@ public abstract class AbstractComponent implements Component, MethodEventSource
}
- /*
- * Adds a variable-change dependency to this component. Don't add a JavaDoc
- * comment here, we use the default documentation from implemented
- * interface.
- */
- public void dependsOn(VariableOwner depended) {
-
- // Assure that the list exists
- if (dependencies == null)
- dependencies = new HashSet();
-
- // Add to the list of dependencies
- if (depended != null)
- dependencies.add(depended);
- }
-
- /*
- * Removes a dependency from the component. Don't add a JavaDoc comment
- * here, we use the default documentation from implemented interface.
- */
- public void removeDirectDependency(VariableOwner depended) {
-
- // Removes the listener if necessary
- if (dependencies != null && depended != null)
- dependencies.remove(depended);
- }
-
- /*
- * Gets the set of depended components. Don't add a JavaDoc comment here, we
- * use the default documentation from implemented interface.
- */
+ /* Dependency -framework is deprecated */
+ public void dependsOn(VariableOwner depended) {}
+ public void removeDirectDependency(VariableOwner depended) {}
public Set getDirectDependencies() {
- return dependencies;
+ return null;
}
/* General event framework *************************************** */