Subversion Repositories eFlore/Applications.coel

Rev

Rev 775 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 775 Rev 831
Line 297... Line 297...
297
		if (nouvellesDonnees instanceof ValeurListe) {
297
		if (nouvellesDonnees instanceof ValeurListe) {
298
			ValeurListe listeValeurs = (ValeurListe) nouvellesDonnees;
298
			ValeurListe listeValeurs = (ValeurListe) nouvellesDonnees;
299
			rafraichirValeurListe(listeValeurs);
299
			rafraichirValeurListe(listeValeurs);
300
		} else if (nouvellesDonnees instanceof ProjetListe) {
300
		} else if (nouvellesDonnees instanceof ProjetListe) {
301
			ProjetListe projets = (ProjetListe) nouvellesDonnees;
301
			ProjetListe projets = (ProjetListe) nouvellesDonnees;
302
			Formulaire.rafraichirComboBox(projets, projetsStore, projetsCombo);
302
			Formulaire.rafraichirComboBox(projets, projetsCombo);
303
		} else if (nouvellesDonnees instanceof StructureListe) {
303
		} else if (nouvellesDonnees instanceof StructureListe) {
304
			StructureListe structures = (StructureListe) nouvellesDonnees;
304
			StructureListe structures = (StructureListe) nouvellesDonnees;
305
			Formulaire.rafraichirComboBox(structures, structuresStore, structuresCombo);
305
			Formulaire.rafraichirComboBox(structures, structuresCombo);
306
		} else if (nouvellesDonnees instanceof CollectionListe) {
306
		} else if (nouvellesDonnees instanceof CollectionListe) {
307
			CollectionListe collections = (CollectionListe) nouvellesDonnees;
307
			CollectionListe collections = (CollectionListe) nouvellesDonnees;
308
			Formulaire.rafraichirComboBox(collections, collectionsStore, collectionsCombo);
308
			Formulaire.rafraichirComboBox(collections, collectionsCombo);
309
		} else {
309
		} else {
310
			GWT.log(Mediateur.i18nM.erreurRafraichir(nouvellesDonnees.getClass(), this.getClass()), null);
310
			GWT.log(Mediateur.i18nM.erreurRafraichir(nouvellesDonnees.getClass(), this.getClass()), null);
311
		}
311
		}
312
	}
312
	}
Line 313... Line 313...
313
	
313
	
314
	private void rafraichirValeurListe(ValeurListe listeValeurs) {
314
	private void rafraichirValeurListe(ValeurListe listeValeurs) {
315
		if (listeValeurs.getId().equals(config.getListeId("typeCollectionNcd"))) {
315
		if (listeValeurs.getId().equals(config.getListeId("typeCollectionNcd"))) {
316
			Formulaire.rafraichirComboBox(listeValeurs, typesCollectionStore, typesCollectionCombo);
316
			Formulaire.rafraichirComboBox(listeValeurs, typesCollectionCombo);
317
		} else if (listeValeurs.getId().equals(config.getListeId("typeCollectionBota"))) {
317
		} else if (listeValeurs.getId().equals(config.getListeId("typeCollectionBota"))) {
318
			Formulaire.rafraichirComboBox(listeValeurs, typeCollectionBotaStore, typesCollectionBotaCombo);
318
			Formulaire.rafraichirComboBox(listeValeurs, typesCollectionBotaCombo);
319
		} else if (listeValeurs.getId().equals(config.getListeId("typeDepot"))) {
319
		} else if (listeValeurs.getId().equals(config.getListeId("typeDepot"))) {
320
			Formulaire.rafraichirComboBox(listeValeurs, typeDepotStore, typeDepotCombo);
320
			Formulaire.rafraichirComboBox(listeValeurs, typeDepotCombo);
321
		} else {
321
		} else {
322
			GWT.log("Gestion de la liste "+listeValeurs.getId()+" non implémenté!", null);
322
			GWT.log("Gestion de la liste "+listeValeurs.getId()+" non implémenté!", null);
323
		}
323
		}