| Line 15... |
Line 15... |
| 15 |
import org.tela_botanica.client.modeles.UniteBase;
|
15 |
import org.tela_botanica.client.modeles.UniteBase;
|
| 16 |
import org.tela_botanica.client.modeles.UniteRangement;
|
16 |
import org.tela_botanica.client.modeles.UniteRangement;
|
| 17 |
import org.tela_botanica.client.modeles.Valeur;
|
17 |
import org.tela_botanica.client.modeles.Valeur;
|
| 18 |
import org.tela_botanica.client.modeles.ValeurListe;
|
18 |
import org.tela_botanica.client.modeles.ValeurListe;
|
| Line -... |
Line 19... |
| - |
|
19 |
|
| 19 |
|
20 |
import com.extjs.gxt.ui.client.Style.Scroll;
|
| 20 |
import com.extjs.gxt.ui.client.event.ButtonEvent;
|
21 |
import com.extjs.gxt.ui.client.event.ButtonEvent;
|
| 21 |
import com.extjs.gxt.ui.client.event.Events;
|
22 |
import com.extjs.gxt.ui.client.event.Events;
|
| 22 |
import com.extjs.gxt.ui.client.event.Listener;
|
23 |
import com.extjs.gxt.ui.client.event.Listener;
|
| 23 |
import com.extjs.gxt.ui.client.event.MessageBoxEvent;
|
24 |
import com.extjs.gxt.ui.client.event.MessageBoxEvent;
|
| Line 97... |
Line 98... |
| 97 |
|
98 |
|
| 98 |
nbreEchantillonChp = new NumberField();
|
99 |
nbreEchantillonChp = new NumberField();
|
| 99 |
nbreEchantillonChp.setFieldLabel(i18nC.nbreEchantillon());
|
100 |
nbreEchantillonChp.setFieldLabel(i18nC.nbreEchantillon());
|
| 100 |
nbreEchantillonChp.setToolTip(i18nC.nbreEchantillonInfo());
|
101 |
nbreEchantillonChp.setToolTip(i18nC.nbreEchantillonInfo());
|
| 101 |
nbreEchantillonChp.setFormat(NumberFormat.getFormat("#"));
|
- |
|
| 102 |
nbreEchantillonChp.setToolTip(i18nC.champNumerique());
|
102 |
nbreEchantillonChp.setFormat(NumberFormat.getFormat("#"));
|
| Line 103... |
Line 103... |
| 103 |
add(nbreEchantillonChp);
|
103 |
add(nbreEchantillonChp);
|
| 104 |
|
104 |
|
| Line 147... |
Line 147... |
| 147 |
etatGeneralCombo.setTrie("id_valeur");
|
147 |
etatGeneralCombo.setTrie("id_valeur");
|
| 148 |
add(etatGeneralCombo, new FormData(300, 0));
|
148 |
add(etatGeneralCombo, new FormData(300, 0));
|
| Line 149... |
Line 149... |
| 149 |
|
149 |
|
| 150 |
specimenDegradationChp = new ChampMultiValeursMultiTypes(i18nC.degradationSpecimen(), 600, true);
|
150 |
specimenDegradationChp = new ChampMultiValeursMultiTypes(i18nC.degradationSpecimen(), 600, true);
|
| 151 |
specimenDegradationChp.initialiserType("specimenDegradation");
|
151 |
specimenDegradationChp.initialiserType("specimenDegradation");
|
| 152 |
specimenDegradationChp.initialiserCombobox("etat");
|
152 |
specimenDegradationChp.initialiserCombobox("niveauImportance");
|
| Line 153... |
Line 153... |
| 153 |
add(specimenDegradationChp);
|
153 |
add(specimenDegradationChp);
|
| 154 |
|
154 |
|
| 155 |
presentationDegradationChp = new ChampMultiValeursMultiTypes(i18nC.degradationPresentation(), 600, true);
|
155 |
presentationDegradationChp = new ChampMultiValeursMultiTypes(i18nC.degradationPresentation(), 600, true);
|
| 156 |
presentationDegradationChp.initialiserType("supportDegradation");
|
156 |
presentationDegradationChp.initialiserType("supportDegradation");
|
| Line 157... |
Line 157... |
| 157 |
presentationDegradationChp.initialiserCombobox("etat");
|
157 |
presentationDegradationChp.initialiserCombobox("niveauImportance");
|
| 158 |
add(presentationDegradationChp);
|
158 |
add(presentationDegradationChp);
|
| 159 |
|
159 |
|
| Line 184... |
Line 184... |
| 184 |
ContentPanel panneau = new ContentPanel();
|
184 |
ContentPanel panneau = new ContentPanel();
|
| 185 |
panneau.setHeading(titre);
|
185 |
panneau.setHeading(titre);
|
| 186 |
panneau.setIcon(Images.ICONES.table());
|
186 |
panneau.setIcon(Images.ICONES.table());
|
| 187 |
panneau.setLayout(new FitLayout());
|
187 |
panneau.setLayout(new FitLayout());
|
| 188 |
panneau.setFrame(true);
|
188 |
panneau.setFrame(true);
|
| - |
|
189 |
panneau.setScrollMode(Scroll.AUTO);
|
| Line 189... |
Line 190... |
| 189 |
|
190 |
|
| 190 |
return panneau;
|
191 |
return panneau;
|
| Line 191... |
Line 192... |
| 191 |
}
|
192 |
}
|