-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Step 5 | 05:08 | Create a new design file using Vaadin Designer
- Loading branch information
Showing
2 changed files
with
35 additions
and
0 deletions.
There are no files selected for viewing
24 changes: 24 additions & 0 deletions
24
src/main/java/org/vaadin/stepbystep/PersonEditorDesign.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
package org.vaadin.stepbystep; | ||
|
||
import com.vaadin.annotations.AutoGenerated; | ||
import com.vaadin.annotations.DesignRoot; | ||
import com.vaadin.ui.declarative.Design; | ||
import com.vaadin.ui.VerticalLayout; | ||
|
||
/** | ||
* !! DO NOT EDIT THIS FILE !! | ||
* <p> | ||
* This class is generated by Vaadin Designer and will be overwritten. | ||
* <p> | ||
* Please make a subclass with logic and additional interfaces as needed, | ||
* e.g class LoginView extends LoginDesign implements View { } | ||
*/ | ||
@DesignRoot | ||
@AutoGenerated | ||
@SuppressWarnings("serial") | ||
public class PersonEditorDesign extends VerticalLayout { | ||
|
||
public PersonEditorDesign() { | ||
Design.read(this); | ||
} | ||
} |
11 changes: 11 additions & 0 deletions
11
src/main/resources/org/vaadin/stepbystep/PersonEditorDesign.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<!doctype html> | ||
<html> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="design-properties" content="{"RULERS_VISIBLE":true,"GUIDELINES_VISIBLE":false,"SNAP_TO_OBJECTS":true,"SNAP_TO_GRID":true,"SNAPPING_DISTANCE":10,"JAVA_SOURCES_ROOT":"src/main/java","THEME":"mytheme"}"> | ||
<meta name="vaadin-version" content="8.0.2"> | ||
</head> | ||
<body> | ||
<vaadin-vertical-layout size-full></vaadin-vertical-layout> | ||
</body> | ||
</html> |