650 |
gduche |
1 |
package org.tela_botanica.del.client.vues.plateformedetermination.ligneProtocole;
|
649 |
gduche |
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;
|
|
|
6 |
import com.google.gwt.user.client.ui.Composite;
|
|
|
7 |
import com.google.gwt.user.client.ui.HasWidgets;
|
|
|
8 |
import com.google.gwt.user.client.ui.Label;
|
|
|
9 |
import com.google.gwt.user.client.ui.Panel;
|
|
|
10 |
import com.google.gwt.user.client.ui.Widget;
|
|
|
11 |
|
|
|
12 |
public class LigneProtocoleVue extends Composite implements LigneProtocolePresenteur.Vue {
|
|
|
13 |
@UiField
|
|
|
14 |
Panel zoneVote;
|
|
|
15 |
|
|
|
16 |
@UiField
|
|
|
17 |
Label nom;
|
|
|
18 |
|
|
|
19 |
interface LigneProtocoleUIiBinder extends UiBinder<Widget, LigneProtocoleVue> {
|
|
|
20 |
};
|
|
|
21 |
|
|
|
22 |
private static LigneProtocoleUIiBinder uiBinder = GWT.create(LigneProtocoleUIiBinder.class);
|
|
|
23 |
|
|
|
24 |
public LigneProtocoleVue() {
|
|
|
25 |
initWidget(uiBinder.createAndBindUi(this));
|
|
|
26 |
}
|
|
|
27 |
|
|
|
28 |
@Override
|
|
|
29 |
public void setNom(String nom) {
|
|
|
30 |
this.nom.setText(nom);
|
|
|
31 |
this.nom.setTitle(nom);
|
|
|
32 |
}
|
|
|
33 |
|
|
|
34 |
@Override
|
|
|
35 |
public HasWidgets getZoneVote() {
|
|
|
36 |
return this.zoneVote;
|
|
|
37 |
}
|
|
|
38 |
|
|
|
39 |
}
|