devis.setFieldLabel(messages.devis());
devis.setMaxLength(60);
formPanel.add(devis, new FormData(ANCHOR_SPEC));
status = new CustomComboBox<SimpleDto>();
status.setStore(new ListStore());
status.setName(GestionDto.STATUT);
status.setFieldLabel(messages.status());
loadStatusData();
formPanel.add(status, new FormData(ANCHOR_SPEC));
TextField<String> label1 = new CustomTextField<String>();
label1.setMaxLength(MAX_LENGTH_1);
label1.setName(GestionDto.LABEL);
formPanel.add(label1, new FormData(ANCHOR_SPEC));
label1.setFieldLabel(messages.label());
TextArea comment = new TextArea();
comment.setName(GestionDto.COMMENT);
formPanel.add(comment, new FormData(ANCHOR_SPEC));
comment.setFieldLabel(messages.comment());
NumberField amount1 = createNumberField(null);
amount1.setName(GestionDto.AMOUNT);
formPanel.add(amount1, new FormData(ANCHOR_SPEC));
amount1.setFieldLabel(messages.amount());
add(formPanel);
marche = new CustomComboBox<SimpleDto>();
marche.setName(GestionDto.MARCHE);
marche.setStore(new ListStore());
marche.setFieldLabel(messages.marche());
loadMarcheData();
formPanel.add(marche, new FormData(ANCHOR_SPEC));
NumberField avenants = createNumberField(null);
avenants.setName(GestionDto.TRAITE);
formPanel.add(avenants, new FormData(ANCHOR_SPEC));
avenants.setFieldLabel(messages.avenants());
NumberField arrete = createNumberField(null);
arrete.setName(GestionDto.ARRETE);
formPanel.add(arrete, new FormData(ANCHOR_SPEC));
arrete.setFieldLabel(messages.arrete());
NumberField nonArrete = createNumberField(null);
nonArrete.setName(GestionDto.NON_ARRETE);
formPanel.add(nonArrete, new FormData(ANCHOR_SPEC));
nonArrete.setFieldLabel(messages.nonArrete());
NumberField provision = createNumberField(null);
provision.setName(GestionDto.PROVISION);
formPanel.add(provision, new FormData(ANCHOR_SPEC));
provision.setFieldLabel(messages.provision());
NumberField devisRefuse = createNumberField(null);
devisRefuse.setName(GestionDto.DEVIS_REFUSE);
formPanel.add(devisRefuse, new FormData(ANCHOR_SPEC));
devisRefuse.setFieldLabel(messages.devisRefuse());
NumberField reelActivite = createNumberField(null);
reelActivite.setName(GestionDto.REEL_ACTIVITIVE);
formPanel.add(reelActivite, new FormData(ANCHOR_SPEC));
reelActivite.setFieldLabel(messages.reelActivitive());
reelActivite.setMinValue(0);
reelActivite.setMaxValue(100);
type = new CustomComboBox<SimpleDto>();
type.setStore(new ListStore());
type.setName(GestionDto.TYPE);
type.setFieldLabel(messages.type());
loadTypeData();
formPanel.add(type, new FormData(ANCHOR_SPEC));