1196 |
gduche |
1 |
package org.tela_botanica.del.client.vues.pictoflora.plateformedetermination;
|
|
|
2 |
|
|
|
3 |
import org.tela_botanica.del.client.gestionhistorique.ConstantesNavigation;
|
|
|
4 |
|
|
|
5 |
import com.google.gwt.core.client.GWT;
|
|
|
6 |
import com.google.gwt.event.dom.client.HasClickHandlers;
|
|
|
7 |
import com.google.gwt.uibinder.client.UiBinder;
|
|
|
8 |
import com.google.gwt.uibinder.client.UiField;
|
|
|
9 |
import com.google.gwt.user.client.ui.Button;
|
|
|
10 |
import com.google.gwt.user.client.ui.Composite;
|
|
|
11 |
import com.google.gwt.user.client.ui.HTMLPanel;
|
|
|
12 |
import com.google.gwt.user.client.ui.HasWidgets;
|
|
|
13 |
import com.google.gwt.user.client.ui.Hyperlink;
|
|
|
14 |
import com.google.gwt.user.client.ui.Label;
|
|
|
15 |
import com.google.gwt.user.client.ui.Panel;
|
|
|
16 |
import com.google.gwt.user.client.ui.Widget;
|
|
|
17 |
|
|
|
18 |
public class PictofloraDeterminationVue extends Composite implements PictofloraDeterminationPresenteur.Vue {
|
|
|
19 |
|
|
|
20 |
@UiField
|
|
|
21 |
Panel forum, detailImageObservation, formulaireRechercheEflore, voteProtocole, zoneRss;
|
|
|
22 |
|
|
|
23 |
@UiField
|
|
|
24 |
Label nomTaxonProbable, lienOuvrages, lienEflore, lienBonnier, lienCles;
|
|
|
25 |
|
|
|
26 |
@UiField
|
|
|
27 |
Hyperlink lienRetour;
|
|
|
28 |
|
|
|
29 |
@UiField
|
|
|
30 |
Button boutonAjoutProposition, boutonAjoutPropositionBas, boutonAjoutCommentaire, boutonAjoutCommentaireBas;
|
|
|
31 |
|
|
|
32 |
@UiField
|
|
|
33 |
Panel metadonnees;
|
|
|
34 |
|
|
|
35 |
interface DeterminationUIiBinder extends UiBinder<Widget, PictofloraDeterminationVue> {
|
|
|
36 |
};
|
|
|
37 |
|
|
|
38 |
private static DeterminationUIiBinder uiBinder = GWT.create(DeterminationUIiBinder.class);
|
|
|
39 |
|
|
|
40 |
public PictofloraDeterminationVue() {
|
|
|
41 |
initWidget(uiBinder.createAndBindUi(this));
|
|
|
42 |
lienRetour.setTargetHistoryToken(ConstantesNavigation.HOME);
|
|
|
43 |
}
|
|
|
44 |
|
|
|
45 |
public Panel getForum() {
|
|
|
46 |
return forum;
|
|
|
47 |
}
|
|
|
48 |
|
|
|
49 |
public Panel getDetailImageObservation() {
|
|
|
50 |
return detailImageObservation;
|
|
|
51 |
}
|
|
|
52 |
|
|
|
53 |
public Panel getFormulaireRechercheEflore() {
|
|
|
54 |
return formulaireRechercheEflore;
|
|
|
55 |
}
|
|
|
56 |
|
|
|
57 |
public Panel getVoteProtocole() {
|
|
|
58 |
return voteProtocole;
|
|
|
59 |
}
|
|
|
60 |
|
|
|
61 |
public Button getBoutonAjoutProposition() {
|
|
|
62 |
return boutonAjoutProposition;
|
|
|
63 |
}
|
|
|
64 |
|
|
|
65 |
public Button getBoutonAjoutPropositionBas() {
|
|
|
66 |
return boutonAjoutPropositionBas;
|
|
|
67 |
}
|
|
|
68 |
|
|
|
69 |
public Panel getMetadonnees() {
|
|
|
70 |
return metadonnees;
|
|
|
71 |
}
|
|
|
72 |
|
|
|
73 |
@Override
|
|
|
74 |
public void afficherNomTaxonProbable(String nomTaxon) {
|
|
|
75 |
this.nomTaxonProbable.setText(nomTaxon);
|
|
|
76 |
}
|
|
|
77 |
|
|
|
78 |
@Override
|
|
|
79 |
public HasWidgets getNouvelleLigneProtocole() {
|
|
|
80 |
HTMLPanel nouvelleLigne = new HTMLPanel("");
|
|
|
81 |
this.voteProtocole.add(nouvelleLigne);
|
|
|
82 |
return nouvelleLigne;
|
|
|
83 |
}
|
|
|
84 |
|
|
|
85 |
public Button getBoutonAjoutCommentaire() {
|
|
|
86 |
return boutonAjoutCommentaire;
|
|
|
87 |
}
|
|
|
88 |
|
|
|
89 |
public Button getBoutonAjoutCommentaireBas() {
|
|
|
90 |
return boutonAjoutCommentaireBas;
|
|
|
91 |
}
|
|
|
92 |
|
|
|
93 |
@Override
|
|
|
94 |
public HasClickHandlers getLienOuvrages() {
|
|
|
95 |
return lienOuvrages;
|
|
|
96 |
}
|
|
|
97 |
|
|
|
98 |
@Override
|
|
|
99 |
public HasClickHandlers getLienBonnier() {
|
|
|
100 |
return lienBonnier;
|
|
|
101 |
}
|
|
|
102 |
|
|
|
103 |
@Override
|
|
|
104 |
public HasClickHandlers getLienCles() {
|
|
|
105 |
return lienCles;
|
|
|
106 |
}
|
|
|
107 |
|
|
|
108 |
@Override
|
|
|
109 |
public HasClickHandlers getLienEflore() {
|
|
|
110 |
return lienEflore;
|
|
|
111 |
}
|
|
|
112 |
|
|
|
113 |
public HasWidgets getZoneRss() {
|
|
|
114 |
return zoneRss;
|
|
|
115 |
}
|
|
|
116 |
}
|
|
|
117 |
|