From: Leif Åstrand Date: Thu, 30 May 2013 07:25:23 +0000 (+0300) Subject: Make ProgressInidcatorConnector use VProgressIndicator (#11925) X-Git-Tag: 7.1.0~90^2~17 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=86b368948d29bfc482f89a2dc5ebdfbe0697e26c;p=vaadin-framework.git 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 --- 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; @@ -61,6 +62,11 @@ public class ProgressIndicatorConnector extends ProgressBarConnector { } } + @Override + public VProgressIndicator getWidget() { + return (VProgressIndicator) super.getWidget(); + } + @Override public void onUnregister() { super.onUnregister();