Line 1... |
Line 1... |
1 |
package org.tela_botanica.client.vues;
|
1 |
package org.tela_botanica.client.vues;
|
Line 2... |
Line 2... |
2 |
|
2 |
|
3 |
import org.tela_botanica.client.Mediateur;
|
3 |
import org.tela_botanica.client.Mediateur;
|
4 |
import org.tela_botanica.client.RegistreId;
|
4 |
import org.tela_botanica.client.RegistreId;
|
- |
|
5 |
import org.tela_botanica.client.interfaces.Rafraichissable;
|
5 |
import org.tela_botanica.client.interfaces.Rafraichissable;
|
6 |
import org.tela_botanica.client.modeles.CollectionListe;
|
6 |
import org.tela_botanica.client.modeles.Information;
|
7 |
import org.tela_botanica.client.modeles.Information;
|
7 |
import org.tela_botanica.client.modeles.PersonneListe;
|
8 |
import org.tela_botanica.client.modeles.PersonneListe;
|
8 |
import org.tela_botanica.client.modeles.ProjetListe;
|
9 |
import org.tela_botanica.client.modeles.ProjetListe;
|
9 |
import org.tela_botanica.client.modeles.PublicationListe;
|
10 |
import org.tela_botanica.client.modeles.PublicationListe;
|
Line 31... |
Line 32... |
31 |
//+----------------------------------------------------------------------------------------------------------------+
|
32 |
//+----------------------------------------------------------------------------------------------------------------+
|
Line 32... |
Line 33... |
32 |
|
33 |
|
33 |
public void rafraichir(Object nouvellesDonnees) {
|
34 |
public void rafraichir(Object nouvellesDonnees) {
|
34 |
if (nouvellesDonnees instanceof StructureListe) {
|
35 |
if (nouvellesDonnees instanceof StructureListe) {
|
- |
|
36 |
mediateur.afficherListeStructures((StructureListe) nouvellesDonnees);
|
- |
|
37 |
} else if (nouvellesDonnees instanceof CollectionListe) {
|
35 |
mediateur.afficherListeStructures((StructureListe) nouvellesDonnees);
|
38 |
mediateur.afficherListeCollections((CollectionListe) nouvellesDonnees);
|
36 |
} else if (nouvellesDonnees instanceof PublicationListe) {
|
39 |
} else if (nouvellesDonnees instanceof PublicationListe) {
|
37 |
mediateur.afficherListePublication((PublicationListe) nouvellesDonnees);
|
40 |
mediateur.afficherListePublication((PublicationListe) nouvellesDonnees);
|
38 |
} else if (nouvellesDonnees instanceof PersonneListe) {
|
41 |
} else if (nouvellesDonnees instanceof PersonneListe) {
|
39 |
mediateur.afficherListePersonnes((PersonneListe) nouvellesDonnees);
|
42 |
mediateur.afficherListePersonnes((PersonneListe) nouvellesDonnees);
|