summaryrefslogtreecommitdiffstats
path: root/server/src/com/vaadin/ui/AbstractComponent.java
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2014-12-14 21:34:01 +0200
committerMatti Hosio <mhosio@vaadin.com>2014-12-15 14:29:25 +0200
commit3b75f2b14833f78c00d0032cbd76b09fca058100 (patch)
treed229d3ccc47bc41ab0f9647601c755b08393426c /server/src/com/vaadin/ui/AbstractComponent.java
parent5d5e8c4c05b9ab765cebcae10f96144c2f570681 (diff)
downloadvaadin-framework-3b75f2b14833f78c00d0032cbd76b09fca058100.tar.gz
vaadin-framework-3b75f2b14833f78c00d0032cbd76b09fca058100.zip
SynchronizeFrom/ToDesign -> read/writeDesign (#7749)
Change-Id: Ie5e420ac5d62a2aa3206051888e6dd0f8f30df11
Diffstat (limited to 'server/src/com/vaadin/ui/AbstractComponent.java')
-rw-r--r--server/src/com/vaadin/ui/AbstractComponent.java14
1 files changed, 6 insertions, 8 deletions
diff --git a/server/src/com/vaadin/ui/AbstractComponent.java b/server/src/com/vaadin/ui/AbstractComponent.java
index 808b70386f..3c68fde9b2 100644
--- a/server/src/com/vaadin/ui/AbstractComponent.java
+++ b/server/src/com/vaadin/ui/AbstractComponent.java
@@ -914,13 +914,11 @@ public abstract class AbstractComponent extends AbstractClientConnector
/*
* (non-Javadoc)
*
- * @see
- * com.vaadin.ui.Component#synchronizeFromDesign(org.jsoup.nodes.Element,
+ * @see com.vaadin.ui.Component#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) {
Attributes attr = design.attributes();
AbstractComponent def = designContext.getDefaultInstance(this
.getClass());
@@ -1190,8 +1188,8 @@ public abstract class AbstractComponent extends AbstractClientConnector
/**
* Returns a collection of attributes that should not be handled by the
* basic implementation of the {@link synhronizeFromDesign} and
- * {@link synchronizeToDesign} methods. Typically these are handled in a
- * custom way in the overridden versions of the above methods
+ * {@link writeDesign} methods. Typically these are handled in a custom way
+ * in the overridden versions of the above methods
*
* @return the collection of attributes that are not handled by the basic
* implementation
@@ -1208,11 +1206,11 @@ public abstract class AbstractComponent extends AbstractClientConnector
/*
* (non-Javadoc)
*
- * @see com.vaadin.ui.Component#synchronizeToDesign(org.jsoup.nodes.Element,
+ * @see com.vaadin.ui.Component#writeDesign(org.jsoup.nodes.Element,
* com.vaadin.ui.declarative.DesignContext)
*/
@Override
- public void synchronizeToDesign(Element design, DesignContext designContext) {
+ public void writeDesign(Element design, DesignContext designContext) {
// clear element contents
DesignAttributeHandler.clearElement(design);
AbstractComponent def = designContext.getDefaultInstance(this