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/AbstractSplitPanel.java | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'server/src/com/vaadin/ui/AbstractSplitPanel.java') diff --git a/server/src/com/vaadin/ui/AbstractSplitPanel.java b/server/src/com/vaadin/ui/AbstractSplitPanel.java index 1400bcf092..66d01084d1 100644 --- a/server/src/com/vaadin/ui/AbstractSplitPanel.java +++ b/server/src/com/vaadin/ui/AbstractSplitPanel.java @@ -557,15 +557,13 @@ public abstract class AbstractSplitPanel extends AbstractComponentContainer { /* * (non-Javadoc) * - * @see - * com.vaadin.ui.AbstractComponent#synchronizeFromDesign(org.jsoup.nodes - * .Element, com.vaadin.ui.declarative.DesignContext) + * @see com.vaadin.ui.AbstractComponent#readDesign(org.jsoup.nodes .Element, + * com.vaadin.ui.declarative.DesignContext) */ @Override - public void synchronizeFromDesign(Element design, - DesignContext designContext) { + public void readDesign(Element design, DesignContext designContext) { // handle default attributes - super.synchronizeFromDesign(design, designContext); + super.readDesign(design, designContext); // handle custom attributes, use default values if no explicit value // set AbstractSplitPanel def = designContext.getDefaultInstance(this @@ -634,9 +632,9 @@ public abstract class AbstractSplitPanel extends AbstractComponentContainer { } @Override - public void synchronizeToDesign(Element design, DesignContext designContext) { + public void writeDesign(Element design, DesignContext designContext) { // handle default attributes (also clears children and attributes) - super.synchronizeToDesign(design, designContext); + super.writeDesign(design, designContext); // handle custom attributes (write only if a value is not the // default value) AbstractSplitPanel def = designContext.getDefaultInstance(this -- cgit v1.2.3