Changeset d749cbd5 in vaadin
- Timestamp:
- 12/22/11 07:40:34 (18 months ago)
- Branches:
- master, 7.0, 7.1
- Children:
- 12dab0ad
- Parents:
- 0be23936e
- git-author:
- Leif Åstrand <leif@…> (12/22/11 07:40:34)
- git-committer:
- Leif Åstrand <leif@…> (12/22/11 07:40:34)
- Files:
-
- 2 edited
- 1 moved
-
src/com/vaadin/Application.java (modified) (2 diffs)
-
src/com/vaadin/annotations/Theme.java (moved) (moved from src/com/vaadin/annotations/RootTheme.java) (1 diff)
-
tests/testbench/com/vaadin/tests/components/root/TestRootTheme.java (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/com/vaadin/Application.java
ra252e7b1 rd749cbd5 31 31 32 32 import com.vaadin.annotations.RootInitRequiresBrowserDetails; 33 import com.vaadin.annotations. RootTheme;33 import com.vaadin.annotations.Theme; 34 34 import com.vaadin.annotations.RootWidgetset; 35 35 import com.vaadin.data.util.converter.Converter; … … 1975 1975 */ 1976 1976 public String getThemeForRoot(Root root) { 1977 RootTheme rootTheme = getAnnotationFor(root.getClass(), RootTheme.class);1977 Theme rootTheme = getAnnotationFor(root.getClass(), Theme.class); 1978 1978 if (rootTheme != null) { 1979 1979 return rootTheme.value(); -
src/com/vaadin/annotations/Theme.java
r405aee7a rd749cbd5 17 17 @Retention(RetentionPolicy.RUNTIME) 18 18 @Target(ElementType.TYPE) 19 public @interface RootTheme {19 public @interface Theme { 20 20 /** 21 21 * @return simple name of the theme -
tests/testbench/com/vaadin/tests/components/root/TestRootTheme.java
rb86e0213 rd749cbd5 1 1 package com.vaadin.tests.components.root; 2 2 3 import com.vaadin.annotations. RootTheme;3 import com.vaadin.annotations.Theme; 4 4 import com.vaadin.terminal.WrappedRequest; 5 5 import com.vaadin.tests.components.AbstractTestRoot; 6 6 import com.vaadin.ui.Label; 7 7 8 @ RootTheme("tests-tickets")8 @Theme("tests-tickets") 9 9 public class TestRootTheme extends AbstractTestRoot { 10 10
Note: See TracChangeset
for help on using the changeset viewer.
