| Line 22... |
Line 22... |
| 22 |
setIcon(Images.ICONES.application());
|
22 |
setIcon(Images.ICONES.application());
|
| 23 |
setLayout(new FitLayout());
|
23 |
setLayout(new FitLayout());
|
| Line 24... |
Line 24... |
| 24 |
|
24 |
|
| 25 |
TabPanel panneaux = new TabPanel();
|
25 |
TabPanel panneaux = new TabPanel();
|
| 26 |
panneaux.setBorders(false);
|
- |
|
| 27 |
TabItem parametresOnglet = new TabItem("Paramêtres");
|
- |
|
| 28 |
parametresOnglet.setIcon(Images.ICONES.engrenages());
|
- |
|
| 29 |
parametresOnglet.addText("Paramêtres de l'application...");
|
- |
|
| Line 30... |
Line -... |
| 30 |
parametresOnglet.addStyleName("pad-text");
|
- |
|
| 31 |
|
- |
|
| 32 |
TabItem preferencesOnglet = new TabItem("Préférences");
|
- |
|
| 33 |
preferencesOnglet.addText("Préférences de l'application...");
|
- |
|
| 34 |
preferencesOnglet.setIcon(Images.ICONES.groupeEngrenage());
|
- |
|
| 35 |
preferencesOnglet.addStyleName("pad-text");
|
26 |
panneaux.setBorders(false);
|
| 36 |
|
27 |
|
| 37 |
TabItem aproposOnglet = new TabItem("A propos...");
|
28 |
TabItem aproposOnglet = new TabItem("À propos...");
|
| 38 |
aproposOnglet.setIcon(Images.ICONES.information());
|
29 |
aproposOnglet.setIcon(Images.ICONES.information());
|
| 39 |
aproposOnglet.addText("<h1>"+(String) Registry.get(RegistreId.APPLI_NOM)+"</h1>");
|
30 |
aproposOnglet.addText("<h1>"+(String) Registry.get(RegistreId.APPLI_NOM)+"</h1>");
|
| 40 |
aproposOnglet.addText("Code : "+(String) Registry.get(RegistreId.APPLI_CODE));
|
31 |
aproposOnglet.addText("Code : "+(String) Registry.get(RegistreId.APPLI_CODE));
|
| Line 50... |
Line 41... |
| 50 |
Version gxtVersion = GXT.getVersion();
|
41 |
Version gxtVersion = GXT.getVersion();
|
| 51 |
aproposOnglet.addText("GXT : v"+gxtVersion.getRelease());
|
42 |
aproposOnglet.addText("GXT : v"+gxtVersion.getRelease());
|
| 52 |
aproposOnglet.addText("<hr />");
|
43 |
aproposOnglet.addText("<hr />");
|
| 53 |
aproposOnglet.addText("<h1>"+"Navigateur"+"</h1>");
|
44 |
aproposOnglet.addText("<h1>"+"Navigateur"+"</h1>");
|
| 54 |
aproposOnglet.addText("COEL fonctionne actuellement dans : "+GXT.getUserAgent());
|
45 |
aproposOnglet.addText("COEL fonctionne actuellement dans : "+GXT.getUserAgent());
|
| 55 |
|
- |
|
| 56 |
aproposOnglet.addStyleName("pad-text");
|
46 |
aproposOnglet.addStyleName("pad-text");
|
| 57 |
|
- |
|
| 58 |
panneaux.add(parametresOnglet);
|
- |
|
| 59 |
panneaux.add(preferencesOnglet);
|
- |
|
| 60 |
panneaux.add(aproposOnglet);
|
47 |
panneaux.add(aproposOnglet);
|
| Line 61... |
Line 48... |
| 61 |
|
48 |
|
| 62 |
add(panneaux, new FitData(4));
|
49 |
add(panneaux, new FitData(4));
|