PRootLayoutPanel.get().add(panel);
final EventBus eventBus = UIContext.getRootEventBus();
final SampleActivityMapper mapper = new SampleActivityMapper();
final PlaceHistoryMapper historyMapper = new DefaultPlaceHistoryMapper(eventBus);
final PlaceController placeController = new PlaceController(uiContext.getHistory(), eventBus);
final ActivityManager activityManager = new ActivityManager(mapper);
activityManager.setDisplay(panel);