/* if (action==Action.ACTION_SYNTHESE) {
ecran=mapNavigation.get(Action.ACTION_SYNTHESE);
}*/
ecran = mapNavigation.get(action);
EcranLoadable comEcran = ecran.getEcran();
if(History.getToken().equalsIgnoreCase(Action.ACTION_ACCEUIL.getLabel())){
RootPanel.get("appContent").clear();
RootPanel.get("appContent").add(comEcran);
}
try {
GWT.log("change content " + action.getLabel());
RootPanel.get(CONTENT).clear();
RootPanel.get("appContent").add(comEcran);
} catch (ConcurrentModificationException e) {
GWT.log("Attention error ConcurrentModificationException" + e);
RootPanel.get("appContent").add(comEcran);
}
// Mettre � jour l'actuelle
actuelle = action;
// Charger l'application
comEcran.onLoadApplication(event);
// Mettre � jour l'histoire
if (event.getParameters() != null
&& event.getParameters().get(ConstantClient.CANCEL_HISTORY) == null) {
HistoryHelper.newItem(action.getLabel(), event.getParameters());