Subversion Repositories eFlore/Applications.coel

Rev

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

Rev 1083 Rev 1098
Line 530... Line 530...
530
				
530
				
531
				personnesSaisisComboBox.getStore().removeAll();
531
				personnesSaisisComboBox.getStore().removeAll();
532
				personnesSaisisComboBox.getStore().add(liste);
532
				personnesSaisisComboBox.getStore().add(liste);
533
				personnesSaisisComboBox.expand();
533
				personnesSaisisComboBox.expand();
-
 
534
			}
-
 
535
		} else if (info.getType().equals("liste_collection_a_personne")) {
-
 
536
			if (info.getDonnee(0) != null) {
-
 
537
				initialiser();
-
 
538
				collection.setPersonnesLiees((CollectionAPersonneListe) info.getDonnee(0));
-
 
539
				peupler();
534
			}
540
			}
535
		} else if (info.getType().equals("ajout_collection")) {
541
		} else if (info.getType().equals("ajout_collection")) {
536
			if (info.getDonnee(0) != null && info.getDonnee(0) instanceof String) {
542
			if (info.getDonnee(0) != null && info.getDonnee(0) instanceof String) {
Line 537... Line 543...
537
				String collectionId = (String) info.getDonnee(0);
543
				String collectionId = (String) info.getDonnee(0);
Line 558... Line 564...
558
			Info.display("Modification des personnes liées à la collection", info.toString());
564
			Info.display("Modification des personnes liées à la collection", info.toString());
559
		} else if (info.getType().equals("suppression_collection_a_personne")) {
565
		} else if (info.getType().equals("suppression_collection_a_personne")) {
560
			Info.display("Suppression des personnes liées à la collection", info.toString());
566
			Info.display("Suppression des personnes liées à la collection", info.toString());
561
		} else if (info.getType().equals("ajout_collection_a_personne")) {
567
		} else if (info.getType().equals("ajout_collection_a_personne")) {
562
			Info.display("Ajout des personnes liées à la collection", info.toString());
568
			Info.display("Ajout des personnes liées à la collection", info.toString());
563
		} else if (info.getType().equals("liste_collection_a_personne")) {
-
 
564
			if (info.getDonnee(0) != null) {
-
 
565
				initialiser();
-
 
566
				collection.setPersonnesLiees((CollectionAPersonneListe) info.getDonnee(0));
-
 
567
				peupler();
-
 
568
			}
-
 
569
		}
569
		}
570
	}
570
	}
Line 571... Line 571...
571
	
571
	
572
	public void peupler() {
572
	public void peupler() {