aboutsummaryrefslogtreecommitdiffstats
path: root/src/com/vaadin/RootTestApplication.java
diff options
context:
space:
mode:
authorLeif Åstrand <leif@vaadin.com>2011-11-01 17:05:56 +0200
committerLeif Åstrand <leif@vaadin.com>2011-11-01 17:05:56 +0200
commitbe1d3c336573fe461ca66d4c91597febadb4e58f (patch)
treee033d64a6588d546c6d2479e41abaf1931b472d4 /src/com/vaadin/RootTestApplication.java
parent822aa7c87c01500031c5d94ef7f84b2959e7e5b0 (diff)
downloadvaadin-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.java22
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;
+ }
+
+}