diff options
author | Matti Hosio <mhosio@vaadin.com> | 2014-12-12 13:04:31 +0200 |
---|---|---|
committer | Matti Hosio <mhosio@vaadin.com> | 2014-12-12 16:18:20 +0200 |
commit | a025d511bfe4e81993d33fc424a9bed754586a52 (patch) | |
tree | 46598f43edf5182fc0f867edc2fbcd01e50ecaea /server/src/com/vaadin/ui/AbstractComponent.java | |
parent | c4aab1fe917b3cae5a41c8acc1e7cbea07700106 (diff) | |
download | vaadin-framework-a025d511bfe4e81993d33fc424a9bed754586a52.tar.gz vaadin-framework-a025d511bfe4e81993d33fc424a9bed754586a52.zip |
Embed DesignSynchronizable methods to Component interface (#7749)
Change-Id: I06de4d2065dee107da40c2a4941e7d9e22f0832b
Diffstat (limited to 'server/src/com/vaadin/ui/AbstractComponent.java')
-rw-r--r-- | server/src/com/vaadin/ui/AbstractComponent.java | 14 |
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 adbb6d7fe7..18cd1f5fa4 100644 --- a/server/src/com/vaadin/ui/AbstractComponent.java +++ b/server/src/com/vaadin/ui/AbstractComponent.java @@ -69,7 +69,7 @@ import com.vaadin.util.ReflectTools; */ @SuppressWarnings("serial") public abstract class AbstractComponent extends AbstractClientConnector - implements DesignSynchronizable { + implements Component { /* Private members */ @@ -917,8 +917,8 @@ public abstract class AbstractComponent extends AbstractClientConnector * (non-Javadoc) * * @see - * com.vaadin.ui.DesignSynchronizable#synchronizeFromDesign(org.jsoup.nodes - * .Element, com.vaadin.ui.declarative.DesignContext) + * com.vaadin.ui.Component#synchronizeFromDesign(org.jsoup.nodes.Element, + * com.vaadin.ui.declarative.DesignContext) */ @Override public void synchronizeFromDesign(Element design, @@ -1090,8 +1090,7 @@ public abstract class AbstractComponent extends AbstractClientConnector * the default instance of the class for fetching the default * values */ - private void writeSize(Attributes attributes, - DesignSynchronizable defaultInstance) { + private void writeSize(Attributes attributes, Component defaultInstance) { if (hasEqualSize(defaultInstance)) { // we have default values -> ignore return; @@ -1211,9 +1210,8 @@ public abstract class AbstractComponent extends AbstractClientConnector /* * (non-Javadoc) * - * @see - * com.vaadin.ui.DesignSynchronizable#synchronizeToDesign(org.jsoup.nodes - * .Element, com.vaadin.ui.declarative.DesignContext) + * @see com.vaadin.ui.Component#synchronizeToDesign(org.jsoup.nodes.Element, + * com.vaadin.ui.declarative.DesignContext) */ @Override public void synchronizeToDesign(Element design, DesignContext designContext) { |