Subversion Repositories eFlore/Applications.del

Compare Revisions

Ignore whitespace Rev 966 → Rev 967

/trunk/src/org/tela_botanica/del/client/vues/plateformedetermination/DeterminationPresenteur.java
89,15 → 89,15
 
// TODO afficher une icone de chargement si le chargement devient trop long
// car tout l'écran est asynchrone ici
final Observation observationCourante = cache.getObservationCourante();
Observation observationCourante = cache.getObservationCourante();
observationService.getObservation(observationCourante.getId(), new ObservationsCallback() {
 
@Override
public void surRetour(ObservationServiceResultat objetRetour) {
cache.setImageCourante(observationCourante.getImages().get(0));
cache.setImageCourante(cache.getObservationCourante().getImages().get(0));
 
new MetadonneesPresenteur(new MetadonneesEnLigneVue(), observationCourante, ModeRecherche.MODE_OBSERVATION).go(vue.getMetadonnees());
new ObservationImagesPresenteur(new ObservationImagesVue(), observationCourante).go(vue.getDetailImageObservation());
new MetadonneesPresenteur(new MetadonneesEnLigneVue(), cache.getObservationCourante(), ModeRecherche.MODE_OBSERVATION).go(vue.getMetadonnees());
new ObservationImagesPresenteur(new ObservationImagesVue(), cache.getObservationCourante()).go(vue.getDetailImageObservation());
 
chargerEtAjouterLignesVotesProtocole();
new ForumPresenteur(new ForumVue()).go(vue.getForum());