You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
snommensen edited this page Apr 11, 2011
·
2 revisions
Design Note: Application Architecture
The Application is devided in two essential parts. The navigation and the content part. In the content part the application parts like testbed selection and reservation will be placed. Each of the two part has his own activity. Each activity manages his area in the GUI. See the EntryPoint for this.
publicvoidonModuleLoad() {
finalWiseUiViewappWidget = injector.getAppWidget();
injector.getNavigationActivityManager().setDisplay(
appWidget.getNavigationPanel());
// Start ActivityManager for the main widget with our ActivityMapperinjector.getContentActivityManager().setDisplay(
appWidget.getContentPanel());
RootPanel.get().add(appWidget.asWidget());
// Goes to place represented on URL or default placeinjector.getPlaceHistoryHandler().handleCurrentHistory();
}
Keep in mind that there is only one Place instance at a time that will be handled by both activities. So the navigation view will adjust his selection based on the place. The activity for the content will then choose the apropriated content.
General each application part consists of the following modules: