diff options
author | Matti Hosio <mhosio@vaadin.com> | 2014-12-03 14:32:47 +0200 |
---|---|---|
committer | Matti Hosio <mhosio@vaadin.com> | 2014-12-03 14:32:47 +0200 |
commit | 405ae14a6bc561fc1fc431929d9b132415a6b3bd (patch) | |
tree | 0a3f213171b6b6db5e91b71a20900da8a2c68716 /server/src/com/vaadin/ui/AbstractComponent.java | |
parent | c5bb382ed6622945360732979c772403252935f9 (diff) | |
download | vaadin-framework-405ae14a6bc561fc1fc431929d9b132415a6b3bd.tar.gz vaadin-framework-405ae14a6bc561fc1fc431929d9b132415a6b3bd.zip |
Declarative: Use Element in DesingSynchronizable method parameters
Change-Id: I18f49d3248e3ecacd08bfa2e2baa03dd0329b0c7
Diffstat (limited to 'server/src/com/vaadin/ui/AbstractComponent.java')
-rw-r--r-- | server/src/com/vaadin/ui/AbstractComponent.java | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/server/src/com/vaadin/ui/AbstractComponent.java b/server/src/com/vaadin/ui/AbstractComponent.java index 3b0402b2a9..b1927f8580 100644 --- a/server/src/com/vaadin/ui/AbstractComponent.java +++ b/server/src/com/vaadin/ui/AbstractComponent.java @@ -27,7 +27,7 @@ import java.util.regex.Matcher; import java.util.regex.Pattern; import org.jsoup.nodes.Attributes; -import org.jsoup.nodes.Node; +import org.jsoup.nodes.Element; import com.vaadin.event.ActionManager; import com.vaadin.event.ConnectorActionManager; @@ -909,10 +909,11 @@ public abstract class AbstractComponent extends AbstractClientConnector * * @see * com.vaadin.ui.DesignSynchronizable#synchronizeFromDesign(org.jsoup.nodes - * .Node, com.vaadin.ui.declarative.DesignContext) + * .Element, com.vaadin.ui.declarative.DesignContext) */ @Override - public void synchronizeFromDesign(Node design, DesignContext designContext) { + public void synchronizeFromDesign(Element design, + DesignContext designContext) { Attributes attr = design.attributes(); AbstractComponent def = designContext.getDefaultInstance(this .getClass()); @@ -958,10 +959,10 @@ public abstract class AbstractComponent extends AbstractClientConnector * * @see * com.vaadin.ui.DesignSynchronizable#synchronizeToDesign(org.jsoup.nodes - * .Node, com.vaadin.ui.declarative.DesignContext) + * .Element, com.vaadin.ui.declarative.DesignContext) */ @Override - public void synchronizeToDesign(Node design, DesignContext designContext) { + public void synchronizeToDesign(Element design, DesignContext designContext) { // clear node contents DesignAttributeHandler.clearNode(design); AbstractComponent def = designContext.getDefaultInstance(this |