| Line 27... |
Line 27... |
| 27 |
}
|
27 |
}
|
| Line 28... |
Line 28... |
| 28 |
|
28 |
|
| 29 |
public void gererAffichageEnFonctionDeLaNavigation() {
|
29 |
public void gererAffichageEnFonctionDeLaNavigation() {
|
| 30 |
CacheClient cache = CacheClient.getInstance();
|
30 |
CacheClient cache = CacheClient.getInstance();
|
| 31 |
String pageCourante = cache.getPageCourante();
|
31 |
String pageCourante = cache.getPageCourante();
|
| 32 |
if (pageCourante.equals(ConstantesNavigation.PICTOFLORA) || pageCourante.equals(ConstantesNavigation.PAGE_RECHERCHE_IMAGES)
|
32 |
if (pageCourante.startsWith(ConstantesNavigation.PICTOFLORA) || pageCourante.startsWith(ConstantesNavigation.PAGE_RECHERCHE_IMAGES)
|
| 33 |
|| pageCourante.equals(ConstantesNavigation.PAGE_VALIDATION_PICTOFLORA)) {
|
33 |
|| pageCourante.startsWith(ConstantesNavigation.PAGE_VALIDATION_PICTOFLORA)) {
|
| 34 |
chapeauIdentiplante.setVisible(false);
|
34 |
chapeauIdentiplante.setVisible(false);
|
| 35 |
chapeauPictoflora.setVisible(true);
|
35 |
chapeauPictoflora.setVisible(true);
|
| 36 |
} else {
|
36 |
} else {
|
| 37 |
chapeauIdentiplante.setVisible(true);
|
37 |
chapeauIdentiplante.setVisible(true);
|