diff options
author | Leif Åstrand <leif@vaadin.com> | 2011-11-01 17:05:56 +0200 |
---|---|---|
committer | Leif Åstrand <leif@vaadin.com> | 2011-11-01 17:05:56 +0200 |
commit | be1d3c336573fe461ca66d4c91597febadb4e58f (patch) | |
tree | e033d64a6588d546c6d2479e41abaf1931b472d4 /src/com/vaadin/ui/AbstractField.java | |
parent | 822aa7c87c01500031c5d94ef7f84b2959e7e5b0 (diff) | |
download | vaadin-framework-be1d3c336573fe461ca66d4c91597febadb4e58f.tar.gz vaadin-framework-be1d3c336573fe461ca66d4c91597febadb4e58f.zip |
Split Window to Root and Window
Everything related to top level windows disabled in Window, introduced
basic Root for top level windows and disabled everything that isn't
required to get a simple hard coded example to run.
Diffstat (limited to 'src/com/vaadin/ui/AbstractField.java')
-rw-r--r-- | src/com/vaadin/ui/AbstractField.java | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/com/vaadin/ui/AbstractField.java b/src/com/vaadin/ui/AbstractField.java index 7899569ea8..5df0ac8fe6 100644 --- a/src/com/vaadin/ui/AbstractField.java +++ b/src/com/vaadin/ui/AbstractField.java @@ -1118,17 +1118,17 @@ public abstract class AbstractField extends AbstractComponent implements Field, @Override public void attach() { super.attach(); - if (actionManager != null) { - actionManager.setViewer(getWindow()); - } + // if (actionManager != null) { + // actionManager.setViewer(getRoot()); + // } } @Override public void detach() { super.detach(); - if (actionManager != null) { - actionManager.setViewer((Window) null); - } + // if (actionManager != null) { + // actionManager.setViewer((Window) null); + // } } /** @@ -1257,9 +1257,9 @@ public abstract class AbstractField extends AbstractComponent implements Field, protected ActionManager getActionManager() { if (actionManager == null) { actionManager = new ActionManager(); - if (getWindow() != null) { - actionManager.setViewer(getWindow()); - } + // if (getRoot() != null) { + // actionManager.setViewer(getRoot()); + // } } return actionManager; } |