Subversion Repositories eFlore/Applications.del

Rev

Rev 335 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 335 Rev 360
Line 14... Line 14...
14
 
14
 
Line 15... Line 15...
15
public class MoteurRechercheImageVue extends Composite implements MoteurRechercheImagePresenteur.Vue {
15
public class MoteurRechercheImageVue extends Composite implements MoteurRechercheImagePresenteur.Vue {
Line 16... Line 16...
16
 
16
 
-
 
17
	private final Panel panneauChargement = new FlowPanel();
Line 17... Line 18...
17
	private final Panel panneauChargement = new FlowPanel();
18
 
Line -... Line 19...
-
 
19
	interface MyUiBinder extends UiBinder<Widget, MoteurRechercheImageVue> {
18
 
20
	}
-
 
21
 
19
	interface MyUiBinder extends UiBinder<Widget, MoteurRechercheImageVue> {}
22
	private static MyUiBinder uiBinder = GWT.create(MyUiBinder.class);
-
 
23
 
20
 
24
	@UiField
21
	private static MyUiBinder uiBinder = GWT.create(MyUiBinder.class);
25
	Panel panneauResultats, zoneRecherche;
22
 
26
	@UiField
23
	@UiField Panel panneauResultats, zoneRecherche;
27
	Label protocoleLabel;
24
	@UiField Label protocoleLabel;
28
	@UiField
25
	@UiField ListBox listeProtocoles;
29
	ListBox listeProtocoles;
Line 51... Line 55...
51
	}
55
	}
Line 52... Line 56...
52
 
56
 
53
	public HasChangeHandlers getListeProtocoles() {
57
	public HasChangeHandlers getListeProtocoles() {
54
		return listeProtocoles;
58
		return listeProtocoles;
55
	}
59
	}
56
	
60
 
57
	public void ajouterProtocole(String protocole) {
61
	public void ajouterProtocole(String protocole) {
58
		listeProtocoles.addItem(protocole);
62
		listeProtocoles.addItem(protocole);
59
	}
63
	}
60
	
64
 
61
	public void selectionnerProtocole(int index) {
65
	public void selectionnerProtocole(int index) {
62
		listeProtocoles.setSelectedIndex(index);
66
		listeProtocoles.setSelectedIndex(index);
63
		
67
 
Line 64... Line 68...
64
	}
68
	}
65
 
69
 
66
	public HasWidgets getZoneRecherche() {
70
	public HasWidgets getZoneRecherche() {
-
 
71
		return zoneRecherche;
-
 
72
	}
-
 
73
 
-
 
74
	@Override
-
 
75
	public String getNomProtocolSelectionne() {
67
		return zoneRecherche;
76
		return listeProtocoles.getValue(listeProtocoles.getSelectedIndex());