if (place instanceof EditPlace)
return new EditActivity((EditPlace) place, this.clientFactory);
else if (place instanceof DisplayPlace) {
AppActivityMapper.recordAnalyticsHit(((DisplayPlace) place)
.getPageName());
return new DisplayActivity((DisplayPlace) place, this.clientFactory);
} else if (place instanceof HistoryPlace)
return new HistoryActivity((HistoryPlace) place, this.clientFactory);
return null;
}