so at the moment i delay it (the whole continueStart()) untill some events
occur. And you propose not to delay it with scheduleDeferred (until 2
events occurred) but with scheduleFinally? Or how the code shoul look like?
at the moment it is:
...
new SchedulerImpl().scheduleDeferred(new ScheduledCommand() {
@Override
public void execute() {
while (!(ttReady && auReady)) {
//bad i know
}
continueStart();
}
...
private void continueStart() {
// set up activity managers
sidePanelAreaManager.setDisplay(contentArea.getWestSideArea());
breadCrumbAreaManager.setDisplay(contentArea.getBreadcrumArea());
contentMenuAreaManager.setDisplay(contentArea.getContentMenuArea());
contentAreaManager.setDisplay(contentArea.getContentArea());
// insert dynamic layout in static layout
staticView.getContentArea().setWidget(contentArea);
contentArea.setDefaultLayout();
currentPlace = placeController.getWhere();
eventBus.addHandler(PlaceChangeEvent.TYPE, this);
historyHandler.register(placeController, eventBus, startPlace);
historyHandler.handleCurrentHistory();
// currentPlace = placeController.getWhere();
// eventBus.addHandler(PlaceChangeEvent.TYPE, this);
}
so please tell me what lines to move where or what lines to change
thx in advance
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-web-toolkit/-/IO_uuGHSFYcJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.