Subversion Repositories eFlore/Applications.coel

Rev

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

Rev 781 Rev 782
Line 190... Line 190...
190
		SelectionListener<ButtonEvent> ecouteur = new SelectionListener<ButtonEvent>() {
190
		SelectionListener<ButtonEvent> ecouteur = new SelectionListener<ButtonEvent>() {
191
			@Override
191
			@Override
192
			public void componentSelected(ButtonEvent ce) {
192
			public void componentSelected(ButtonEvent ce) {
193
				String code = ((Button) ce.getComponent()).getData("code");
193
				String code = ((Button) ce.getComponent()).getData("code");
194
				if (code.equals(FormulaireBarreValidation.CODE_BOUTON_VALIDER)) {
194
				if (code.equals(FormulaireBarreValidation.CODE_BOUTON_VALIDER)) {
195
					formulaire.soumettreFormulaire(renvoyerCollectionFormPublication());
195
					formulaire.soumettreFormulaire();
196
					fenetre.hide();
196
					fenetre.hide();
197
				} else if (code.equals(FormulaireBarreValidation.CODE_BOUTON_APPLIQUER)) {
197
				} else if (code.equals(FormulaireBarreValidation.CODE_BOUTON_APPLIQUER)) {
198
					formulaire.soumettreFormulaire(renvoyerCollectionFormPublication());
198
					formulaire.soumettreFormulaire();
199
				} else if (code.equals(FormulaireBarreValidation.CODE_BOUTON_ANNULER)) {
199
				} else if (code.equals(FormulaireBarreValidation.CODE_BOUTON_ANNULER)) {
200
					fenetre.hide();
200
					fenetre.hide();
201
				} else if (code.equals(FormulaireBarreValidation.CODE_BOUTON_REINITIALISER)) {
201
				} else if (code.equals(FormulaireBarreValidation.CODE_BOUTON_REINITIALISER)) {
202
					fenetreFormulaire.hide();
202
					fenetreFormulaire.hide();
203
					fenetreFormulaire = creerFenetreModaleAvecFormulairePersonne(formulaire.mode);
203
					fenetreFormulaire = creerFenetreModaleAvecFormulairePersonne(formulaire.mode);
Line 207... Line 207...
207
		};
207
		};
Line 208... Line 208...
208
		
208
		
209
		return ecouteur;
209
		return ecouteur;
Line 210... Line -...
210
	}
-
 
211
	
-
 
212
	private CollectionFormPublication renvoyerCollectionFormPublication() {
-
 
213
		return this;
-
 
214
	}
210
	}
215
	
211
	
216
	private Button creerBoutonSupprimer() {
212
	private Button creerBoutonSupprimer() {
217
		Button bouton = new Button(i18nC.supprimer());
213
		Button bouton = new Button(i18nC.supprimer());
218
		bouton.setIcon(Images.ICONES.vcardSupprimer());
214
		bouton.setIcon(Images.ICONES.vcardSupprimer());