if (newPlace instanceof ProgressBarPlace) {
return new ProgressBarActivity(clientFactory);
}
if (newPlace instanceof ProgressIndicatorPlace) {
return new ProgressIndicatorActivity(clientFactory);
}
if (newPlace instanceof SliderPlace) {
return new SliderActivity(clientFactory);
}