Subversion Repositories eFlore/Applications.del

Rev

Rev 649 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
46 aurelien 1
package org.tela_botanica.del.client.vues.plateformedetermination;
2
 
3
import com.google.gwt.core.client.GWT;
4
import com.google.gwt.uibinder.client.UiBinder;
5
import com.google.gwt.uibinder.client.UiField;
262 aurelien 6
import com.google.gwt.user.client.ui.Button;
46 aurelien 7
import com.google.gwt.user.client.ui.Composite;
658 benjamin 8
import com.google.gwt.user.client.ui.HTMLPanel;
649 gduche 9
import com.google.gwt.user.client.ui.HasWidgets;
645 gduche 10
import com.google.gwt.user.client.ui.Label;
447 gduche 11
import com.google.gwt.user.client.ui.Panel;
46 aurelien 12
import com.google.gwt.user.client.ui.Widget;
13
 
303 aurelien 14
public class DeterminationVue extends Composite implements DeterminationPresenteur.Vue {
134 gduche 15
 
16
	@UiField
645 gduche 17
	Panel forum, detailImageObservation, formulaireRechercheEflore, voteProtocole;
447 gduche 18
 
645 gduche 19
	@UiField
20
	Label nomTaxonProbable;
21
 
262 aurelien 22
	@UiField
658 benjamin 23
	Button boutonAjoutProposition, boutonAjoutCommentaire;
447 gduche 24
 
25
	@UiField
26
	Panel metadonnees;
134 gduche 27
 
28
	interface DeterminationUIiBinder extends UiBinder<Widget, DeterminationVue> {
29
	};
30
 
46 aurelien 31
	private static DeterminationUIiBinder uiBinder = GWT.create(DeterminationUIiBinder.class);
32
 
33
	public DeterminationVue() {
134 gduche 34
		initWidget(uiBinder.createAndBindUi(this));
46 aurelien 35
	}
134 gduche 36
 
625 gduche 37
	public Panel getForum() {
46 aurelien 38
		return forum;
39
	}
134 gduche 40
 
625 gduche 41
	public Panel getDetailImageObservation() {
46 aurelien 42
		return detailImageObservation;
43
	}
134 gduche 44
 
625 gduche 45
	public Panel getFormulaireRechercheEflore() {
70 aurelien 46
		return formulaireRechercheEflore;
47
	}
134 gduche 48
 
625 gduche 49
	public Panel getVoteProtocole() {
50
		return voteProtocole;
102 aurelien 51
	}
140 aurelien 52
 
262 aurelien 53
	public Button getBoutonAjoutProposition() {
54
		return boutonAjoutProposition;
55
	}
447 gduche 56
 
57
	public Panel getMetadonnees() {
58
		return metadonnees;
59
	}
629 aurelien 60
 
61
	@Override
645 gduche 62
	public void afficherNomTaxonProbable(String nomTaxon) {
63
		this.nomTaxonProbable.setText(nomTaxon);
64
	}
649 gduche 65
 
645 gduche 66
	@Override
649 gduche 67
	public HasWidgets getNouvelleLigneProtocole() {
68
		HTMLPanel nouvelleLigne = new HTMLPanel("");
69
		this.voteProtocole.add(nouvelleLigne);
70
		return nouvelleLigne;
629 aurelien 71
	}
658 benjamin 72
 
73
	public Button getBoutonAjoutCommentaire() {
74
		return boutonAjoutCommentaire;
75
	}
46 aurelien 76
}