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/RootTestApplication.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/RootTestApplication.java')
-rw-r--r-- | src/com/vaadin/RootTestApplication.java | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/com/vaadin/RootTestApplication.java b/src/com/vaadin/RootTestApplication.java new file mode 100644 index 0000000000..c64712ccd6 --- /dev/null +++ b/src/com/vaadin/RootTestApplication.java @@ -0,0 +1,22 @@ +package com.vaadin; + +import com.vaadin.ui.DefaultRoot; +import com.vaadin.ui.Label; +import com.vaadin.ui.Root; + +public class RootTestApplication extends Application { + private final Root root = new DefaultRoot(this, new Label( + "Roots, bloody roots")); + + @Override + public void init() { + // TODO Auto-generated method stub + + } + + @Override + public Root getRoot() { + return root; + } + +} |