diff options
author | Leif Åstrand <leif@vaadin.com> | 2013-05-30 10:25:23 +0300 |
---|---|---|
committer | Leif Åstrand <leif@vaadin.com> | 2013-05-30 10:26:00 +0300 |
commit | 86b368948d29bfc482f89a2dc5ebdfbe0697e26c (patch) | |
tree | 68eb22f041a41ea88020b609460bfc647894dfba | |
parent | a5b8209d928815aab9eee2151bdd00686a2b0ff7 (diff) | |
download | vaadin-framework-86b368948d29bfc482f89a2dc5ebdfbe0697e26c.tar.gz vaadin-framework-86b368948d29bfc482f89a2dc5ebdfbe0697e26c.zip |
Make ProgressInidcatorConnector use VProgressIndicator (#11925)
When ProgressBar was split out from ProgressIndicator,
ProgressIndicatorConnector was accidentally left inheriting the
VProgressBar widget from ProgressBarConnector instead of using its own
VProgressIndicator.
Change-Id: Ie7c5d3b68af871d5eb2a86f3d720af3b23048793
-rw-r--r-- | client/src/com/vaadin/client/ui/progressindicator/ProgressIndicatorConnector.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/client/src/com/vaadin/client/ui/progressindicator/ProgressIndicatorConnector.java b/client/src/com/vaadin/client/ui/progressindicator/ProgressIndicatorConnector.java index 9e14f082e0..23b71868e0 100644 --- a/client/src/com/vaadin/client/ui/progressindicator/ProgressIndicatorConnector.java +++ b/client/src/com/vaadin/client/ui/progressindicator/ProgressIndicatorConnector.java @@ -19,6 +19,7 @@ package com.vaadin.client.ui.progressindicator; import com.google.gwt.user.client.Timer; import com.vaadin.client.communication.StateChangeEvent; import com.vaadin.client.ui.VProgressBar; +import com.vaadin.client.ui.VProgressIndicator; import com.vaadin.shared.ui.Connect; import com.vaadin.shared.ui.progressindicator.ProgressIndicatorServerRpc; import com.vaadin.shared.ui.progressindicator.ProgressIndicatorState; @@ -62,6 +63,11 @@ public class ProgressIndicatorConnector extends ProgressBarConnector { } @Override + public VProgressIndicator getWidget() { + return (VProgressIndicator) super.getWidget(); + } + + @Override public void onUnregister() { super.onUnregister(); poller.cancel(); |