Subversion Repositories eFlore/Applications.coel

Rev

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

Rev 802 Rev 851
Line 173... Line 173...
173
				supprimer.enable();
173
				supprimer.enable();
174
			}
174
			}
175
		}
175
		}
176
	}
176
	}
Line 177... Line 177...
177
	
177
	
178
	public void rafraichir(Object nouvelleDonnees) {
178
	public void rafraichir(Object nouvellesDonnees) {
179
		if (nouvelleDonnees instanceof PublicationListe) {
179
		if (nouvellesDonnees instanceof PublicationListe) {
Line 180... Line 180...
180
			PublicationListe publications = (PublicationListe) nouvelleDonnees;
180
			PublicationListe publications = (PublicationListe) nouvellesDonnees;
181
 
181
 
182
			if (publications != null) {
182
			if (publications != null) {
183
				List<Publication> liste = publications.toList();
183
				List<Publication> liste = publications.toList();
Line 189... Line 189...
189
			}
189
			}
Line 190... Line 190...
190
			
190
			
191
			//mediateur.actualiserPanneauCentral();
191
			//mediateur.actualiserPanneauCentral();
192
			gererEtatActivationBouton();
192
			gererEtatActivationBouton();
193
			layout(true);
193
			layout(true);
194
		} else if (nouvelleDonnees instanceof Information) {
194
		} else if (nouvellesDonnees instanceof Information) {
195
			Information info = (Information) nouvelleDonnees;
195
			Information info = (Information) nouvellesDonnees;
196
			if (info.getType().equals("maj_utilisateur")) {
196
			if (info.getType().equals("maj_utilisateur")) {
197
				gererEtatActivationBouton();
197
				gererEtatActivationBouton();
Line 198... Line 198...
198
			}
198
			}
Line 206... Line 206...
206
				supprimerPublicationsSelectionnees();
206
				supprimerPublicationsSelectionnees();
207
				enSuppression = false;
207
				enSuppression = false;
208
			}
208
			}
Line 209... Line 209...
209
	
209
	
210
		} else {
210
		} else {
211
			GWT.log("Pas de correspondance dans la méthode rafraichir() de la classe "+this.getClass(), null);
211
			GWT.log(mediateur.i18nM.erreurRafraichir(nouvellesDonnees.getClass(), this.getClass()), null);
Line 212... Line 212...
212
		}
212
		}
213
		
213