From 10b30728e94ecfc19208dc387f5dbd7b9b6f71b1 Mon Sep 17 00:00:00 2001 From: Artur Signell Date: Mon, 15 Dec 2014 23:07:42 +0200 Subject: createNode -> createElement Change-Id: Ifb7342a860fa73d51dc462b788a4530abb0bb52f --- server/src/com/vaadin/ui/declarative/Design.java | 2 +- server/src/com/vaadin/ui/declarative/DesignContext.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'server/src/com/vaadin/ui/declarative') 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); -- cgit v1.2.3