From 8a0a1bdb4630f39214a039a2689bfa5a1431a413 Mon Sep 17 00:00:00 2001 From: Matti Hosio Date: Tue, 16 Dec 2014 18:09:56 +0200 Subject: Improved potus demo (#7749) Change-Id: I330d669238b2c79ca2afda396a5e07833f0af90a --- .../com/vaadin/tests/declarative/PotusCrudUI.java | 34 ++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 uitest/src/com/vaadin/tests/declarative/PotusCrudUI.java (limited to 'uitest/src/com/vaadin/tests/declarative/PotusCrudUI.java') diff --git a/uitest/src/com/vaadin/tests/declarative/PotusCrudUI.java b/uitest/src/com/vaadin/tests/declarative/PotusCrudUI.java new file mode 100644 index 0000000000..f1d94f7f16 --- /dev/null +++ b/uitest/src/com/vaadin/tests/declarative/PotusCrudUI.java @@ -0,0 +1,34 @@ +/* + * Copyright 2000-2014 Vaadin Ltd. + * + * Licensed under the Apache License, Version 2.0 (the "License"); you may not + * use this file except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations under + * the License. + */ +package com.vaadin.tests.declarative; + +import com.vaadin.annotations.Theme; +import com.vaadin.server.VaadinRequest; +import com.vaadin.ui.UI; + +/** + * + * @since + * @author Vaadin Ltd + */ +@Theme("valo") +public class PotusCrudUI extends UI { + + @Override + protected void init(VaadinRequest request) { + setContent(new PotusCrud()); + } +} -- cgit v1.2.3