Skip to content

Commit

Permalink
Step 5 | 05:08 | Create a new design file using Vaadin Designer
Browse files Browse the repository at this point in the history
  • Loading branch information
amahdy committed Jun 1, 2017
1 parent 6a40fe3 commit df19c71
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
24 changes: 24 additions & 0 deletions src/main/java/org/vaadin/stepbystep/PersonEditorDesign.java
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 src/main/resources/org/vaadin/stepbystep/PersonEditorDesign.html
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="{&quot;RULERS_VISIBLE&quot;:true,&quot;GUIDELINES_VISIBLE&quot;:false,&quot;SNAP_TO_OBJECTS&quot;:true,&quot;SNAP_TO_GRID&quot;:true,&quot;SNAPPING_DISTANCE&quot;:10,&quot;JAVA_SOURCES_ROOT&quot;:&quot;src/main/java&quot;,&quot;THEME&quot;:&quot;mytheme&quot;}">
<meta name="vaadin-version" content="8.0.2">
</head>
<body>
<vaadin-vertical-layout size-full></vaadin-vertical-layout>
</body>
</html>

0 comments on commit df19c71

Please sign in to comment.