summaryrefslogtreecommitdiffstats
path: root/src/com/vaadin/ui/Root.java
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2012-06-21 10:35:38 +0300
committerArtur Signell <artur@vaadin.com>2012-06-21 17:11:28 +0300
commita75c42b0641059aca186a26cf648e303f34f6a82 (patch)
tree9977ce074295632fd6e094117ac98c50d5bd967c /src/com/vaadin/ui/Root.java
parentd69a0bf1682a42eeff3342e34754d0179b119a6b (diff)
downloadvaadin-framework-a75c42b0641059aca186a26cf648e303f34f6a82.tar.gz
vaadin-framework-a75c42b0641059aca186a26cf648e303f34f6a82.zip
Moved connector tracking from Application to Root
This should fix issues with connectors being detached and reattached and also make the connector map cleanup method unnecessary as long as AbstractConnect.attach and detach always are called (#8943)
Diffstat (limited to 'src/com/vaadin/ui/Root.java')
-rw-r--r--src/com/vaadin/ui/Root.java7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/com/vaadin/ui/Root.java b/src/com/vaadin/ui/Root.java
index 50ad99571e..3727d6f251 100644
--- a/src/com/vaadin/ui/Root.java
+++ b/src/com/vaadin/ui/Root.java
@@ -560,8 +560,7 @@ public abstract class Root extends AbstractComponentContainer implements
/** Identifies the click event */
private static final String CLICK_EVENT_ID = VRoot.CLICK_EVENT_ID;
- private DirtyConnectorTracker dirtyConnectorTracker = new DirtyConnectorTracker(
- this);
+ private ConnectorTracker connectorTracker = new ConnectorTracker(this);
private Page page = new Page(this);
@@ -1208,8 +1207,8 @@ public abstract class Root extends AbstractComponentContainer implements
return isVisible() && isEnabled();
}
- public DirtyConnectorTracker getDirtyConnectorTracker() {
- return dirtyConnectorTracker;
+ public ConnectorTracker getConnectorTracker() {
+ return connectorTracker;
}
public Page getPage() {