Subversion Repositories eFlore/Applications.coel

Rev

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

Rev 1088 Rev 1117
Line 202... Line 202...
202
				Info.display(i18nC.projetTitreSuppression(), message);
202
				Info.display(i18nC.projetTitreSuppression(), message);
203
				supprimerProjetsSelectionnees(Arrays.asList(idsNonSuppr.split(",")));
203
				supprimerProjetsSelectionnees(Arrays.asList(idsNonSuppr.split(",")));
204
				gererEtatActivationBouton();
204
				gererEtatActivationBouton();
205
			}
205
			}
206
		} else {
206
		} else {
207
			GWT.log(Mediateur.i18nM.erreurRafraichir(nouvellesDonnees.getClass(), this.getClass()), null);
207
			Debug.log(Mediateur.i18nM.erreurRafraichir(nouvellesDonnees.getClass(), this.getClass()));
208
		}
208
		}
-
 
209
		layout();
209
	}
210
	}
Line 210... Line 211...
210
 
211
 
211
	public void supprimerProjetsSelectionnees(List idsNonSuppr) {
-
 
212
		
212
	public void supprimerProjetsSelectionnees(List<String> idsNonSuppr) {
213
		List<Projet> selPub = grille.getSelectionModel().getSelectedItems();
213
		List<Projet> selPub = grille.getSelectionModel().getSelectedItems();
214
		for(Iterator<Projet> it = selPub.iterator(); it.hasNext();) {
214
		for (Iterator<Projet> it = selPub.iterator(); it.hasNext();) {
215
			Projet projetCourant = it.next();
215
			Projet projetCourant = it.next();
216
			if (!idsNonSuppr.contains(projetCourant.getId().toString()))	{
216
			if (!idsNonSuppr.contains(projetCourant.getId().toString()))	{
217
				grille.getStore().remove(projetCourant);
217
				grille.getStore().remove(projetCourant);
218
			}
218
			}
Line 219... Line 219...
219
		}
219
		}
220
		
220
		
221
		//Mettre à jour les filtres
-
 
222
		mediateur.mettreFiltreAJour(grille.getStore().getModels());
221
		//Mettre à jour les filtres
223
		
-
 
224
		layout(true);
-
 
225
		
-
 
226
		
222
		mediateur.mettreFiltreAJour(grille.getStore().getModels());
227
		
-
 
228
	}
223
		layout(true);
229
 
224
	}