| Line 1... |
Line 1... |
| 1 |
package org.tela_botanica.del.client.vues.entete;
|
1 |
package org.tela_botanica.del.client.vues.entete;
|
| Line 2... |
Line 2... |
| 2 |
|
2 |
|
| 3 |
import org.tela_botanica.del.client.composants.formulaires.identification.FormulaireIdentificationPresenteur;
|
3 |
import org.tela_botanica.del.client.composants.formulaires.identification.FormulaireIdentificationPresenteur;
|
| 4 |
import org.tela_botanica.del.client.composants.formulaires.identification.FormulaireIdentificationVue;
|
- |
|
| 5 |
import org.tela_botanica.del.client.composants.partageurl.PartageUrlPresenteur;
|
- |
|
| 6 |
import org.tela_botanica.del.client.composants.partageurl.PartageUrlVue;
|
4 |
import org.tela_botanica.del.client.composants.formulaires.identification.FormulaireIdentificationVue;
|
| 7 |
import org.tela_botanica.del.client.composants.presenteur.Presenteur;
|
5 |
import org.tela_botanica.del.client.composants.presenteur.Presenteur;
|
| 8 |
import org.tela_botanica.del.client.services.rest.UtilisateurServiceConcret;
|
- |
|
| 9 |
import org.tela_botanica.del.client.vues.entete.chapeaux.ChapeauPresenteur;
|
- |
|
| 10 |
import org.tela_botanica.del.client.vues.entete.chapeaux.ChapeauVue;
|
6 |
import org.tela_botanica.del.client.services.rest.UtilisateurServiceConcret;
|
| 11 |
import org.tela_botanica.del.client.vues.entete.liens.LiensPresenteur;
|
7 |
import org.tela_botanica.del.client.vues.entete.liens.LiensPresenteur;
|
| Line 12... |
Line 8... |
| 12 |
import org.tela_botanica.del.client.vues.entete.liens.LiensVue;
|
8 |
import org.tela_botanica.del.client.vues.entete.liens.LiensVue;
|
| 13 |
|
9 |
|
| Line 24... |
Line 20... |
| 24 |
* La vue du header
|
20 |
* La vue du header
|
| 25 |
* */
|
21 |
* */
|
| 26 |
public interface Vue extends IsWidget {
|
22 |
public interface Vue extends IsWidget {
|
| 27 |
public HasWidgets getZoneIdentification();
|
23 |
public HasWidgets getZoneIdentification();
|
| 28 |
public HasWidgets getZoneLiens();
|
24 |
public HasWidgets getZoneLiens();
|
| 29 |
public HasWidgets getZoneChapeau();
|
- |
|
| 30 |
}
|
25 |
}
|
| Line 31... |
Line 26... |
| 31 |
|
26 |
|
| Line 32... |
Line 27... |
| 32 |
private Vue vue;
|
27 |
private Vue vue;
|
| Line 41... |
Line 36... |
| 41 |
|
36 |
|
| 42 |
//Ajout de la zone identification
|
37 |
//Ajout de la zone identification
|
| 43 |
FormulaireIdentificationPresenteur identification = new FormulaireIdentificationPresenteur(new FormulaireIdentificationVue(), new UtilisateurServiceConcret());
|
38 |
FormulaireIdentificationPresenteur identification = new FormulaireIdentificationPresenteur(new FormulaireIdentificationVue(), new UtilisateurServiceConcret());
|
| Line 44... |
Line -... |
| 44 |
identification.go(vue.getZoneIdentification());
|
- |
|
| 45 |
|
- |
|
| 46 |
ChapeauPresenteur chapeau = new ChapeauPresenteur(new ChapeauVue());
|
- |
|
| 47 |
chapeau.go(vue.getZoneChapeau());
|
39 |
identification.go(vue.getZoneIdentification());
|
| 48 |
|
40 |
|
| 49 |
LiensPresenteur liens = new LiensPresenteur(new LiensVue());
|
41 |
LiensPresenteur liens = new LiensPresenteur(new LiensVue());
|
| Line 50... |
Line 42... |
| 50 |
liens.go(vue.getZoneLiens());
|
42 |
liens.go(vue.getZoneLiens());
|
| 51 |
}
|
43 |
}
|
| 52 |
|
44 |
|
| 53 |
@Override
|
- |
|
| 54 |
protected void gererEvenements() {
|
45 |
@Override
|
| Line 55... |
Line 46... |
| 55 |
// TODO Auto-generated method stub
|
46 |
protected void gererEvenements() {
|
| 56 |
|
47 |
// TODO Auto-generated method stub
|
| 57 |
}
|
48 |
}
|
| 58 |
|
- |
|
| 59 |
public void ajouterLien(Widget lien) {
|
49 |
|