Subversion Repositories eFlore/Applications.coel

Rev

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

Rev 1329 Rev 1367
Line 369... Line 369...
369
		});
369
		});
370
		return comboBox;
370
		return comboBox;
371
	}
371
	}
Line 372... Line 372...
372
	
372
	
373
	private void obtenirPersonnesSaisies(String nom) {
373
	private void obtenirPersonnesSaisies(String nom) {
374
		mediateur.selectionnerPersonneParNomComplet(this, null, nom+"%"); 
374
		mediateur.selectionnerPersonneParNomComplet(this, null, nom+"%", null); 
Line 375... Line 375...
375
	}
375
	}
376
	
376
	
377
	private void ajouterDansGrille(Personne personne) {
377
	private void ajouterDansGrille(Personne personne) {
Line 537... Line 537...
537
		modelTypeProjets.setTotalName("nbElements");
537
		modelTypeProjets.setTotalName("nbElements");
538
		modelTypeProjets.addField("cpr_nom");
538
		modelTypeProjets.addField("cpr_nom");
539
		modelTypeProjets.addField("cpr_id_projet");
539
		modelTypeProjets.addField("cpr_id_projet");
Line 540... Line 540...
540
		
540
		
541
		String displayNameProjets = "cpr_nom";
541
		String displayNameProjets = "cpr_nom";
Line 542... Line 542...
542
		ProxyProjets<ModelData> proxyProjets = new ProxyProjets<ModelData>();
542
		ProxyProjets<ModelData> proxyProjets = new ProxyProjets<ModelData>(sequenceur);
543
		
543
		
544
		projetsCombo = new ChampComboBoxRechercheTempsReelPaginable(proxyProjets, modelTypeProjets, displayNameProjets);
544
		projetsCombo = new ChampComboBoxRechercheTempsReelPaginable(proxyProjets, modelTypeProjets, displayNameProjets);
545
		projetsCombo.setWidth(200, 600);
545
		projetsCombo.setWidth(200, 600);
Line 600... Line 600...
600
		modelTypeStructures.setTotalName("nbElements");
600
		modelTypeStructures.setTotalName("nbElements");
601
		modelTypeStructures.addField("cs_nom");
601
		modelTypeStructures.addField("cs_nom");
602
		modelTypeStructures.addField("cs_id_structure");
602
		modelTypeStructures.addField("cs_id_structure");
Line 603... Line 603...
603
		
603
		
604
		String displayNameStructures = "cs_nom";
604
		String displayNameStructures = "cs_nom";
Line 605... Line 605...
605
		ProxyStructures<ModelData> proxyStructures = new ProxyStructures<ModelData>();
605
		ProxyStructures<ModelData> proxyStructures = new ProxyStructures<ModelData>(sequenceur);
606
		
606
		
607
		editeurCombobox = new ChampComboBoxRechercheTempsReelPaginable(proxyStructures, modelTypeStructures, displayNameStructures);
607
		editeurCombobox = new ChampComboBoxRechercheTempsReelPaginable(proxyStructures, modelTypeStructures, displayNameStructures);
608
		editeurCombobox.setWidth(200, 600);
608
		editeurCombobox.setWidth(200, 600);
Line 693... Line 693...
693
	private void rafraichirInformation(Information info) {	
693
	private void rafraichirInformation(Information info) {	
694
		String type = info.getType();
694
		String type = info.getType();
695
		if (type.equals("publication_enregistree"))	{
695
		if (type.equals("publication_enregistree"))	{
696
			// la publication vien d'etre enregistrée, on soumet les auteurs
696
			// la publication vien d'etre enregistrée, on soumet les auteurs
697
			soumettreAuteurs();
697
			soumettreAuteurs();
698
			//System.out.println("pub enregistrée");
-
 
699
		} else if (type.equals("auteurs_enregistres")) {
698
		} else if (type.equals("auteurs_enregistres")) {
700
			miseAJourAuteursInitialListe();
699
			miseAJourAuteursInitialListe();
701
			initialiserAuteurs();
700
			initialiserAuteurs();
702
			repandreRafraichissement();
701
			repandreRafraichissement();
703
			controlerFermeture();
702
			controlerFermeture();