Subversion Repositories eFlore/Applications.coel

Rev

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

Rev 553 Rev 556
Line 130... Line 130...
130
	
130
	
131
	public void rafraichir(Object nouvelleDonnees) {
131
	public void rafraichir(Object nouvelleDonnees) {
132
		if (nouvelleDonnees instanceof StructureListe) {
132
		if (nouvelleDonnees instanceof StructureListe) {
Line -... Line 133...
-
 
133
			StructureListe structures = (StructureListe) nouvelleDonnees;
133
			StructureListe structures = (StructureListe) nouvelleDonnees;
134
			
134
			
135
			if (structures != null) {
135
			List<Structure> liste = (List<Structure>) structures.toList();
136
				List<Structure> liste = (List<Structure>) structures.toList();
136
			store.removeAll();
137
				store.removeAll();
137
			store.add(liste);
138
				store.add(liste);
138
 
139
	
139
			gererEtatActivationBouton();
140
				gererEtatActivationBouton();
140
			
141
				
-
 
142
				if (store.getCount() > 0) {
-
 
143
					grille.getSelectionModel().select(0, false);
141
			if (store.getCount() > 0) {
144
				}
142
				grille.getSelectionModel().select(0, false);
-
 
143
			}
-
 
144
			mediateur.actualiserPanneauCentral();
145
				mediateur.actualiserPanneauCentral();
145
 
146
			}
146
		} else if (nouvelleDonnees instanceof Information) {
147
		} else if (nouvelleDonnees instanceof Information) {
147
			Information info = (Information) nouvelleDonnees;
148
			Information info = (Information) nouvelleDonnees;
148
			if (info.getType().equals("suppression_structure")) {
149
			if (info.getType().equals("suppression_structure")) {