diff options
Diffstat (limited to 'server/src/com/vaadin/ui/Panel.java')
-rw-r--r-- | server/src/com/vaadin/ui/Panel.java | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/server/src/com/vaadin/ui/Panel.java b/server/src/com/vaadin/ui/Panel.java index 46ad801a6d..5112a732ac 100644 --- a/server/src/com/vaadin/ui/Panel.java +++ b/server/src/com/vaadin/ui/Panel.java @@ -345,9 +345,8 @@ public class Panel extends AbstractSingleComponentContainer implements } @Override - public void synchronizeFromDesign(Element design, - DesignContext designContext) { - super.synchronizeFromDesign(design, designContext); + public void readDesign(Element design, DesignContext designContext) { + super.readDesign(design, designContext); // handle tabindex Panel def = designContext.getDefaultInstance(this.getClass()); int tabIndex = DesignAttributeHandler.readAttribute("tabindex", @@ -364,8 +363,8 @@ public class Panel extends AbstractSingleComponentContainer implements } @Override - public void synchronizeToDesign(Element design, DesignContext designContext) { - super.synchronizeToDesign(design, designContext); + public void writeDesign(Element design, DesignContext designContext) { + super.writeDesign(design, designContext); // handle tabindex Panel def = designContext.getDefaultInstance(this.getClass()); DesignAttributeHandler.writeAttribute("tabindex", design.attributes(), |