From 3b75f2b14833f78c00d0032cbd76b09fca058100 Mon Sep 17 00:00:00 2001 From: Artur Signell Date: Sun, 14 Dec 2014 21:34:01 +0200 Subject: SynchronizeFrom/ToDesign -> read/writeDesign (#7749) Change-Id: Ie5e420ac5d62a2aa3206051888e6dd0f8f30df11 --- server/src/com/vaadin/ui/TextArea.java | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) (limited to 'server/src/com/vaadin/ui/TextArea.java') diff --git a/server/src/com/vaadin/ui/TextArea.java b/server/src/com/vaadin/ui/TextArea.java index 70b9268228..c8103f9c5b 100644 --- a/server/src/com/vaadin/ui/TextArea.java +++ b/server/src/com/vaadin/ui/TextArea.java @@ -139,27 +139,24 @@ public class TextArea extends AbstractTextField { /* * (non-Javadoc) * - * @see - * com.vaadin.ui.AbstractField#synchronizeFromDesign(org.jsoup.nodes.Element - * , com.vaadin.ui.declarative.DesignContext) + * @see com.vaadin.ui.AbstractField#readDesign(org.jsoup.nodes.Element , + * com.vaadin.ui.declarative.DesignContext) */ @Override - public void synchronizeFromDesign(Element design, - DesignContext designContext) { - super.synchronizeFromDesign(design, designContext); + public void readDesign(Element design, DesignContext designContext) { + super.readDesign(design, designContext); setValue(design.html()); } /* * (non-Javadoc) * - * @see - * com.vaadin.ui.AbstractTextField#synchronizeToDesign(org.jsoup.nodes.Element + * @see com.vaadin.ui.AbstractTextField#writeDesign(org.jsoup.nodes.Element * , com.vaadin.ui.declarative.DesignContext) */ @Override - public void synchronizeToDesign(Element design, DesignContext designContext) { - super.synchronizeToDesign(design, designContext); + public void writeDesign(Element design, DesignContext designContext) { + super.writeDesign(design, designContext); design.html(getValue()); } } -- cgit v1.2.3