diff options
author | Teemu Suo-Anttila <teemusa@vaadin.com> | 2015-04-16 14:40:46 +0300 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2015-04-17 06:14:23 +0000 |
commit | f90d32f230888de7ee684a93bcfbfb6ad2d25293 (patch) | |
tree | 00634fd01d08c7942408db9e7e6fa5451d1e0f9d /uitest | |
parent | 78699c5024a87997473ed48c26d98ba6ba170f8a (diff) | |
download | vaadin-framework-f90d32f230888de7ee684a93bcfbfb6ad2d25293.tar.gz vaadin-framework-f90d32f230888de7ee684a93bcfbfb6ad2d25293.zip |
Add GridItemEditor declarative test UI
Change-Id: I4a26d1508cc422bada57626f67f16d118be5f237
Diffstat (limited to 'uitest')
-rw-r--r-- | uitest/src/com/vaadin/tests/components/grid/declarative/GridItemEditor.html | 81 | ||||
-rw-r--r-- | uitest/src/com/vaadin/tests/components/grid/declarative/GridItemEditor.java | 23 |
2 files changed, 104 insertions, 0 deletions
diff --git a/uitest/src/com/vaadin/tests/components/grid/declarative/GridItemEditor.html b/uitest/src/com/vaadin/tests/components/grid/declarative/GridItemEditor.html new file mode 100644 index 0000000000..b1532d282a --- /dev/null +++ b/uitest/src/com/vaadin/tests/components/grid/declarative/GridItemEditor.html @@ -0,0 +1,81 @@ +<v-grid caption="Double click to edit" width="100%" height="100%" + editable selection-mode="none"> +<table> + <colgroup> + <col property-id="index" editable=false width="50" expand=0> + <col property-id="name" expand=2> + <col property-id="progress" expand=2> + <col property-id="weight" editable=false expand=4> + </colgroup> + <thead> + <tr> + <th>## + <th>Name + <th>Progress + <th>Weight + </tr> + </thead> + <tbody> + <tr> + <td>00 + <td>Marc Addams + <td>0.42 + <td>[SparkLine] + </tr> + <tr> + <td>01 + <td>Kenny Black + <td>0.72 + <td>[SparkLine] + </tr> + <tr> + <td>02 + <td>Sarah McGoff + <td>0.12 + <td>[SparkLine] + </tr> + <tr> + <td>03 + <td>Jos Jones + <td>0.62 + <td>[SparkLine] + </tr> + <tr> + <td>04 + <td>Jane Fielding + <td>0.92 + <td>[SparkLine] + </tr> + <tr> + <td>05 + <td>Marc Einstein + <td>0.05 + <td>[SparkLine] + </tr> + <tr> + <td>06 + <td>Lenny McGoff + <td>0.40 + <td>[SparkLine] + </tr> + <tr> + <td>07 + <td>Peter Adams + <td>0.85 + <td>[SparkLine] + </tr> + <tr> + <td>08 + <td>Tony Stark + <td>0.22 + <td>[SparkLine] + </tr> + <tr> + <td>09 + <td>Nathan Fillion + <td>0.15 + <td>[SparkLine] + </tr> + </tbody> +</table> +</v-grid>
\ No newline at end of file diff --git a/uitest/src/com/vaadin/tests/components/grid/declarative/GridItemEditor.java b/uitest/src/com/vaadin/tests/components/grid/declarative/GridItemEditor.java new file mode 100644 index 0000000000..9673626f45 --- /dev/null +++ b/uitest/src/com/vaadin/tests/components/grid/declarative/GridItemEditor.java @@ -0,0 +1,23 @@ +/* + * 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.components.grid.declarative; + +import com.vaadin.tests.components.DeclarativeTestUI; +import com.vaadin.tests.components.DeclarativeTestUI.DeclarativeUI; + +@DeclarativeUI("GridItemEditor.html") +public class GridItemEditor extends DeclarativeTestUI { +} |