79,22 → 79,26 |
panneauPrincipal.setTopComponent(entete); |
|
tabIdentite = new TabItem(i18nC.personneIdentite()); |
tabIdentite.setTitle("Identité"); |
tabIdentite.setLayout(new AnchorLayout()); |
tabIdentite.setScrollMode(Scroll.AUTO); |
|
tabAdresse = new TabItem(i18nC.personneAdresses()); |
tabAdresse.setTitle("Adresse"); |
tabAdresse.setLayout(new FitLayout()); |
tabAdresse.setScrollMode(Scroll.AUTO); |
|
tabInfosNat = new TabItem(i18nC.personneInfoNat()); |
tabInfosNat.setTitle("Informations naturalistes"); |
tabInfosNat.setScrollMode(Scroll.AUTO); |
|
//Greg : ajout d'un résumé des publications |
tabPublications = new TabItem(i18nC.tabPublications()); |
tabPublications.setTitle("Publications"); |
tabPublications.setScrollMode(Scroll.AUTO); |
tabPublications.setLayout(new FlowLayout()); |
|
tabLogos = new TabItem(i18nC.personneLogos()); |
tabLogos.setTitle("Logos"); |
tabLogos.setScrollMode(Scroll.AUTO); |
tabLogos.setLayout(new FlowLayout()); |
|
388,7 → 392,7 |
* Rempli l'onglet des publications liées |
* @param listePublications la liste des publications |
*/ |
private void afficherPublications(PublicationAPersonneListe listePublications) { |
private void afficherPublications(PublicationAPersonneListe listePublications) { |
List<PublicationAPersonne> publicationsLiees = listePublications.toList(); |
Iterator<PublicationAPersonne> iterateur = publicationsLiees.iterator(); |
|
427,8 → 431,8 |
paramsPublis.set("i18n_nvt", i18nC.publicationNvt()); |
paramsPublis.set("i18n_fascicule", i18nC.publicationFascicule()); |
paramsPublis.set("i18n_page", i18nC.publicationPage()); |
|
afficherOnglet(tableauPublicationsLieesTpl, paramsPublis, tabPublications); |
|
} |
|
public void rafraichir(Object nouvellesDonnees) { |
468,11 → 472,13 |
} |
} |
} |
} else if (nouvellesDonnees instanceof PublicationAPersonneListe) { |
} else if (nouvellesDonnees instanceof PublicationAPersonneListe) { |
afficherPublications((PublicationAPersonneListe) nouvellesDonnees); |
layout(); |
} |
|
if (ontologieRecue && personneAAfficher != null && personneAffichee == false) { |
// Le code suivant est exécuté DANS TOUS LES CAS !!! peu importe le type de données reçu ! |
if (ontologieRecue && personneAAfficher != null && personneAffichee == false) { |
afficherDetailPersonne(personneAAfficher); |
personneAffichee = true; |
} |