| 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.Information;
|
| 6 |
import org.tela_botanica.client.modeles.Information;
|
7 |
import org.tela_botanica.client.modeles.Personne;
|
| Line 7... |
Line 8... |
| 7 |
import org.tela_botanica.client.modeles.PersonneListe;
|
8 |
import org.tela_botanica.client.modeles.PersonneListe;
|
| 8 |
|
9 |
|
| 9 |
import com.extjs.gxt.ui.client.Registry;
|
10 |
import com.extjs.gxt.ui.client.Registry;
|
| Line 34... |
Line 35... |
| 34 |
southData.setMargins(new Margins(5, 0, 0, 0));
|
35 |
southData.setMargins(new Margins(5, 0, 0, 0));
|
| 35 |
this.add(panneauPersonneDetail, southData);
|
36 |
this.add(panneauPersonneDetail, southData);
|
| 36 |
}
|
37 |
}
|
| Line 37... |
Line 38... |
| 37 |
|
38 |
|
| 38 |
public void rafraichir(Object nouvelleDonnees) {
|
39 |
public void rafraichir(Object nouvelleDonnees) {
|
| - |
|
40 |
if (nouvelleDonnees instanceof Personne) {
|
| - |
|
41 |
panneauPersonneDetail.rafraichir((Personne) nouvelleDonnees);
|
| 39 |
if (nouvelleDonnees instanceof PersonneListe) {
|
42 |
} else if (nouvelleDonnees instanceof PersonneListe) {
|
| 40 |
panneauPersonneListe.rafraichir((PersonneListe) nouvelleDonnees);
|
43 |
panneauPersonneListe.rafraichir((PersonneListe) nouvelleDonnees);
|
| 41 |
} else if (nouvelleDonnees instanceof Information) {
|
44 |
} else if (nouvelleDonnees instanceof Information) {
|
| 42 |
Information info = (Information) nouvelleDonnees;
|
45 |
Information info = (Information) nouvelleDonnees;
|
| 43 |
// Affichage des éventuels messages de déboguage ou d'alerte
|
46 |
// Affichage des éventuels messages de déboguage ou d'alerte
|