41 |
aurelien |
1 |
package org.tela_botanica.del.client.vues.plateformedetermination.formulaireproposition;
|
|
|
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.TextArea;
|
|
|
9 |
import com.google.gwt.user.client.ui.TextBox;
|
|
|
10 |
import com.google.gwt.user.client.ui.Widget;
|
|
|
11 |
|
|
|
12 |
public class FormulaireProposition extends Composite {
|
|
|
13 |
|
|
|
14 |
@UiField(provided = true)
|
|
|
15 |
public TextBox nomPrenom = new TextBox();
|
|
|
16 |
|
|
|
17 |
@UiField(provided = true)
|
|
|
18 |
public TextBox choixProposition = new TextBox();
|
|
|
19 |
|
|
|
20 |
@UiField(provided = true)
|
|
|
21 |
public TextBox autreProposition = new TextBox();
|
|
|
22 |
|
|
|
23 |
@UiField(provided = true)
|
|
|
24 |
public TextBox pourcentageConfiance = new TextBox();
|
|
|
25 |
|
|
|
26 |
@UiField(provided = true)
|
|
|
27 |
public TextArea commentaires = new TextArea();
|
|
|
28 |
|
|
|
29 |
interface FormulairePropositionUIiBinder extends UiBinder<Widget, FormulaireProposition>{};
|
|
|
30 |
FormulairePropositionUIiBinder uiBinder = GWT.create(FormulairePropositionUIiBinder.class);
|
|
|
31 |
|
|
|
32 |
public FormulaireProposition() {
|
|
|
33 |
|
|
|
34 |
}
|
|
|
35 |
|
|
|
36 |
public void go(HasWidgets composite) {
|
|
|
37 |
initWidget(uiBinder.createAndBindUi(this));
|
|
|
38 |
composite.add(this);
|
|
|
39 |
}
|
|
|
40 |
}
|