Line 1... |
Line 1... |
1 |
package org.tela_botanica.client.vues;
|
1 |
package org.tela_botanica.client.vues;
|
Line -... |
Line 2... |
- |
|
2 |
|
- |
|
3 |
import org.tela_botanica.client.Mediateur;
|
2 |
|
4 |
import org.tela_botanica.client.i18n.Constantes;
|
3 |
import org.tela_botanica.client.interfaces.Rafraichissable;
|
5 |
import org.tela_botanica.client.interfaces.Rafraichissable;
|
4 |
import org.tela_botanica.client.modeles.Publication;
|
6 |
import org.tela_botanica.client.modeles.Publication;
|
Line 5... |
Line 7... |
5 |
import org.tela_botanica.client.modeles.PublicationListe;
|
7 |
import org.tela_botanica.client.modeles.PublicationListe;
|
Line 10... |
Line 12... |
10 |
import com.extjs.gxt.ui.client.widget.ContentPanel;
|
12 |
import com.extjs.gxt.ui.client.widget.ContentPanel;
|
11 |
import com.extjs.gxt.ui.client.widget.Html;
|
13 |
import com.extjs.gxt.ui.client.widget.Html;
|
12 |
import com.extjs.gxt.ui.client.widget.layout.FitLayout;
|
14 |
import com.extjs.gxt.ui.client.widget.layout.FitLayout;
|
Line 13... |
Line 15... |
13 |
|
15 |
|
14 |
public class PublicationDetailVue extends ContentPanel implements Rafraichissable {
|
16 |
public class PublicationDetailVue extends ContentPanel implements Rafraichissable {
|
- |
|
17 |
|
- |
|
18 |
private Mediateur mediateur = null;
|
- |
|
19 |
private Constantes i18nC = null;
|
15 |
|
20 |
|
16 |
private ContentPanel content;
|
21 |
private ContentPanel content;
|
17 |
private Html header;
|
22 |
private Html header;
|
18 |
private String enteteHTML = "<div class='coel-detail'><h1>{0}</h1><h2>{1}</h2><h2>{2}</h2></div>";
|
23 |
private String enteteHTML = "<div class='coel-detail'><h1>{0}</h1><h2>{1}</h2><h2>{2}</h2></div>";
|
19 |
private String contenuHTML = "<div style='padding: 12px;'><h2>Détails de la publication</h2><span style='font-weight:bold;'>Nom de la revue :</span> {0}<br /><span style='font-weight:bold;'>Editeur :</span> {1}<br /><span style='font-weight:bold;'>Année :</span> {2}<br /><span style='font-weight:bold;'>Tome :</span> {3}<br /><span style='font-weight:bold;'>Fascicule :</span> {4}<br /><span style='font-weight:bold;'>Pages :</span> {5}</div>";
|
24 |
private String contenuHTML = "<div style='padding: 12px;'><h2>Détails de la publication</h2><span style='font-weight:bold;'>Nom de la revue :</span> {0}<br /><span style='font-weight:bold;'>Editeur :</span> {1}<br /><span style='font-weight:bold;'>Année :</span> {2}<br /><span style='font-weight:bold;'>Tome :</span> {3}<br /><span style='font-weight:bold;'>Fascicule :</span> {4}<br /><span style='font-weight:bold;'>Pages :</span> {5}</div>";
|
20 |
private String publicationNom = null;
|
25 |
private String publicationNom = null;
|
21 |
private String publicationAuteur = null;
|
26 |
private String publicationAuteur = null;
|
Line 22... |
Line 27... |
22 |
private String publicationDateParution = null;
|
27 |
private String publicationDateParution = null;
|
- |
|
28 |
|
- |
|
29 |
public PublicationDetailVue(Mediateur mediateurCourant) {
|
- |
|
30 |
mediateur = mediateurCourant;
|
23 |
|
31 |
i18nC = mediateur.i18nC;
|
24 |
public PublicationDetailVue() {
|
32 |
|
Line 25... |
Line 33... |
25 |
setHeaderVisible(false);
|
33 |
setHeaderVisible(false);
|
26 |
setLayout(new FitLayout());
|
34 |
setLayout(new FitLayout());
|