diff options
author | Artur Signell <artur@vaadin.com> | 2014-12-15 23:07:42 +0200 |
---|---|---|
committer | Artur Signell <artur@vaadin.com> | 2014-12-15 23:12:14 +0200 |
commit | 10b30728e94ecfc19208dc387f5dbd7b9b6f71b1 (patch) | |
tree | 9c20e5ba80e57143ddbcbaa20a87cbb259f89b3c /server/src/com/vaadin/ui/declarative | |
parent | 353206974a542d0aadc278dea4adeff226fb3a9e (diff) | |
download | vaadin-framework-10b30728e94ecfc19208dc387f5dbd7b9b6f71b1.tar.gz vaadin-framework-10b30728e94ecfc19208dc387f5dbd7b9b6f71b1.zip |
createNode -> createElement
Change-Id: Ifb7342a860fa73d51dc462b788a4530abb0bb52f
Diffstat (limited to 'server/src/com/vaadin/ui/declarative')
-rw-r--r-- | server/src/com/vaadin/ui/declarative/Design.java | 2 | ||||
-rw-r--r-- | server/src/com/vaadin/ui/declarative/DesignContext.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/server/src/com/vaadin/ui/declarative/Design.java b/server/src/com/vaadin/ui/declarative/Design.java index db656937ef..138214af6b 100644 --- a/server/src/com/vaadin/ui/declarative/Design.java +++ b/server/src/com/vaadin/ui/declarative/Design.java @@ -243,7 +243,7 @@ public class Design implements Serializable { // creates the entire component hierarchy rooted at the // given root node. Component root = designContext.getRootComponent(); - Node rootNode = designContext.createNode(root); + Node rootNode = designContext.createElement(root); body.appendChild(rootNode); return doc; } diff --git a/server/src/com/vaadin/ui/declarative/DesignContext.java b/server/src/com/vaadin/ui/declarative/DesignContext.java index 214040b54d..c5094d7927 100644 --- a/server/src/com/vaadin/ui/declarative/DesignContext.java +++ b/server/src/com/vaadin/ui/declarative/DesignContext.java @@ -360,7 +360,7 @@ public class DesignContext implements Serializable { * name of the created node is derived from the class name of * childComponent. */ - public Element createNode(Component childComponent) { + public Element createElement(Component childComponent) { Class<?> componentClass = childComponent.getClass(); String packageName = componentClass.getPackage().getName(); String prefix = packageToPrefix.get(packageName); |