From 3c0f91b18d03d63845b5ee705a90d43cae98d8df Mon Sep 17 00:00:00 2001 From: Artur Signell Date: Thu, 29 Mar 2012 18:33:05 +0300 Subject: [PATCH] Removed unnecessary connector id from widget --- .../terminal/gwt/client/ui/AbstractSplitPanelConnector.java | 4 ++-- .../vaadin/terminal/gwt/client/ui/VAbstractSplitPanel.java | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/com/vaadin/terminal/gwt/client/ui/AbstractSplitPanelConnector.java b/src/com/vaadin/terminal/gwt/client/ui/AbstractSplitPanelConnector.java index f46a711016..2f622a9198 100644 --- a/src/com/vaadin/terminal/gwt/client/ui/AbstractSplitPanelConnector.java +++ b/src/com/vaadin/terminal/gwt/client/ui/AbstractSplitPanelConnector.java @@ -135,7 +135,7 @@ public abstract class AbstractSplitPanelConnector extends initRPC(rpc); // TODO Remove getWidget().client = getConnection(); - getWidget().id = getConnectorId(); + getWidget().addHandler(new SplitterMoveHandler() { public void splitterMoved(SplitterMoveEvent event) { @@ -204,7 +204,7 @@ public abstract class AbstractSplitPanelConnector extends getWidget().immediate = getState().isImmediate(); getWidget().setEnabled(isEnabled()); - + clickEventHandler.handleEventHandlerRegistration(); if (getState().hasStyles()) { diff --git a/src/com/vaadin/terminal/gwt/client/ui/VAbstractSplitPanel.java b/src/com/vaadin/terminal/gwt/client/ui/VAbstractSplitPanel.java index be08c9f574..c470f98650 100644 --- a/src/com/vaadin/terminal/gwt/client/ui/VAbstractSplitPanel.java +++ b/src/com/vaadin/terminal/gwt/client/ui/VAbstractSplitPanel.java @@ -77,8 +77,6 @@ public class VAbstractSplitPanel extends ComplexPanel { ApplicationConnection client; - String id; - boolean immediate; /* The current position of the split handle in either percentages or pixels */ -- 2.39.5