aboutsummaryrefslogtreecommitdiffstats
path: root/shared
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2014-06-11 20:35:04 +0300
committerArtur Signell <artur@vaadin.com>2014-06-26 11:11:47 +0000
commit1b73b00b2875c5eafa3c641b77f5d9efc2f7d929 (patch)
treed41b978f8e58f3d294e46e88567e448b47fee450 /shared
parent949fb45841374204307b50f48d0d2d9ab921deb6 (diff)
downloadvaadin-framework-1b73b00b2875c5eafa3c641b77f5d9efc2f7d929.tar.gz
vaadin-framework-1b73b00b2875c5eafa3c641b77f5d9efc2f7d929.zip
Allow changing theme on the fly (#2874)
Change-Id: I70c153c4109428686002f985bfe1cb7cba2c9b31
Diffstat (limited to 'shared')
-rw-r--r--shared/src/com/vaadin/shared/ui/ui/UIState.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/shared/src/com/vaadin/shared/ui/ui/UIState.java b/shared/src/com/vaadin/shared/ui/ui/UIState.java
index 3c3785b7d5..abdc105ba7 100644
--- a/shared/src/com/vaadin/shared/ui/ui/UIState.java
+++ b/shared/src/com/vaadin/shared/ui/ui/UIState.java
@@ -62,6 +62,7 @@ public class UIState extends TabIndexState {
* Configuration for the push channel
*/
public PushConfigurationState pushConfiguration = new PushConfigurationState();
+ public String theme;
{
primaryStyleName = "v-ui";
// Default is 1 for legacy reasons
@@ -95,7 +96,7 @@ public class UIState extends TabIndexState {
NotificationRole role) {
this.prefix = prefix;
this.postfix = postfix;
- this.notificationRole = role;
+ notificationRole = role;
}
}