Subversion Repositories eFlore/Applications.coel

Rev

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

Rev 834 Rev 851
Line 163... Line 163...
163
				modifier.enable();
163
				modifier.enable();
164
			}
164
			}
165
		}
165
		}
166
	}
166
	}
Line 167... Line 167...
167
	
167
	
168
	public void rafraichir(Object nouvelleDonnees) {
168
	public void rafraichir(Object nouvellesDonnees) {
169
		if (nouvelleDonnees instanceof ProjetListe) {
169
		if (nouvellesDonnees instanceof ProjetListe) {
Line 170... Line 170...
170
			ProjetListe projets = (ProjetListe) nouvelleDonnees;
170
			ProjetListe projets = (ProjetListe) nouvellesDonnees;
171
 
171
 
172
			if (projets != null) {
172
			if (projets != null) {
173
				List<Projet> liste = projets.toList();
173
				List<Projet> liste = projets.toList();
Line 181... Line 181...
181
			}
181
			}
Line 182... Line 182...
182
			
182
			
183
			//mediateur.actualiserPanneauCentral();
183
			//mediateur.actualiserPanneauCentral();
184
			gererEtatActivationBouton();
184
			gererEtatActivationBouton();
185
			layout(true);
185
			layout(true);
186
		} else if (nouvelleDonnees instanceof Information) {
186
		} else if (nouvellesDonnees instanceof Information) {
187
			Information info = (Information) nouvelleDonnees;
187
			Information info = (Information) nouvellesDonnees;
188
			if (info.getType().equals("maj_utilisateur")) {
188
			if (info.getType().equals("maj_utilisateur")) {
189
				gererEtatActivationBouton();
189
				gererEtatActivationBouton();
Line 190... Line 190...
190
			}
190
			}
Line 198... Line 198...
198
				supprimerProjetsSelectionnees();
198
				supprimerProjetsSelectionnees();
199
				enSuppression = false;
199
				enSuppression = false;
200
			}
200
			}
Line 201... Line 201...
201
	
201
	
202
		} else {
202
		} else {
203
			GWT.log("Pas de correspondance dans la méthode rafraichir() de la classe "+this.getClass(), null);
203
			GWT.log(mediateur.i18nM.erreurRafraichir(nouvellesDonnees.getClass(), this.getClass()), null);
204
		}
204
		}
Line 205... Line 205...
205
	}
205
	}
206
 
206