]> source.dussan.org Git - vaadin-framework.git/commitdiff
Don't use @DelegateToWidget in AbstractSplitPanelState.SplitterState (#9485, #9491)
authorJohannes Dahlström <johannesd@vaadin.com>
Thu, 6 Sep 2012 09:30:51 +0000 (12:30 +0300)
committerJohannes Dahlström <johannesd@vaadin.com>
Thu, 6 Sep 2012 09:32:26 +0000 (12:32 +0300)
client/src/com/vaadin/client/ui/splitpanel/AbstractSplitPanelConnector.java
shared/src/com/vaadin/shared/ui/splitpanel/AbstractSplitPanelState.java

index 229d3894cfea30939a8b2fcc36fb960a9b260074..eaf82ff557ae19728fdedc25532f2f597dc7042c 100644 (file)
@@ -150,6 +150,10 @@ public abstract class AbstractSplitPanelConnector extends
         getWidget().position = splitterState.position
                 + splitterState.positionUnit;
 
+        getWidget().setPositionReversed(splitterState.positionReversed);
+
+        getWidget().setLocked(splitterState.locked);
+
         // This is needed at least for cases like #3458 to take
         // appearing/disappearing scrollbars into account.
         getConnection().runDescendentsLayout(getWidget());
index 4b50a719e0bb079eda537fbd82756b00b2a2a1ff..733f032726c7ecb741b62d282aacde8815c5dbf0 100644 (file)
@@ -19,7 +19,6 @@ import java.io.Serializable;
 
 import com.vaadin.shared.ComponentState;
 import com.vaadin.shared.Connector;
-import com.vaadin.shared.annotations.DelegateToWidget;
 
 public class AbstractSplitPanelState extends ComponentState {
 
@@ -34,11 +33,7 @@ public class AbstractSplitPanelState extends ComponentState {
         public String minPositionUnit;
         public float maxPosition;
         public String maxPositionUnit;
-
-        @DelegateToWidget
         public boolean positionReversed = false;
-
-        @DelegateToWidget
         public boolean locked = false;
     }
 }
\ No newline at end of file