Subversion Repositories eFlore/Applications.coel

Rev

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

Rev 150 Rev 189
Line 26... Line 26...
26
import com.extjs.gxt.ui.client.widget.table.Table;
26
import com.extjs.gxt.ui.client.widget.table.Table;
27
import com.extjs.gxt.ui.client.widget.table.TableColumn;
27
import com.extjs.gxt.ui.client.widget.table.TableColumn;
28
import com.extjs.gxt.ui.client.widget.table.TableColumnModel;
28
import com.extjs.gxt.ui.client.widget.table.TableColumnModel;
29
import com.extjs.gxt.ui.client.widget.toolbar.TextToolItem;
29
import com.extjs.gxt.ui.client.widget.toolbar.TextToolItem;
30
import com.extjs.gxt.ui.client.widget.toolbar.ToolBar;
30
import com.extjs.gxt.ui.client.widget.toolbar.ToolBar;
-
 
31
import com.google.gwt.core.client.GWT;
31
import com.google.gwt.user.client.Window;
32
import com.google.gwt.user.client.Window;
Line 32... Line 33...
32
 
33
 
Line 33... Line 34...
33
public class PanneauPersonneListe extends ContentPanel implements Rafraichissable {
34
public class PanneauPersonneListe extends ContentPanel implements Rafraichissable {
Line 110... Line 111...
110
		coelMediateur.clicListePersonne(personne);
111
		coelMediateur.clicListePersonne(personne);
111
	}
112
	}
Line 112... Line 113...
112
 
113
 
113
	public void rafraichir(Object nouvelleDonnees) {
114
	public void rafraichir(Object nouvelleDonnees) {
-
 
115
		if (nouvelleDonnees instanceof PersonneListe) {
114
		if (nouvelleDonnees instanceof PersonneListe) {
116
			store.removeAll();
115
			setHeading("Personnes");
117
			setHeading("Personnes");
Line 116... Line 118...
116
			PersonneListe listePersonnes = (PersonneListe) nouvelleDonnees;
118
			PersonneListe listePersonnes = (PersonneListe) nouvelleDonnees;
Line 117... Line 119...
117
			
119
			
Line 118... Line 120...
118
			List<Personne> liste = new ArrayList<Personne>();
120
			List<Personne> liste = new ArrayList<Personne>();
119
			
121
			
Line 120... Line -...
120
			for (Iterator<String> it = listePersonnes.keySet().iterator(); it.hasNext();) {
-
 
-
 
122
			for (Iterator<String> it = listePersonnes.keySet().iterator(); it.hasNext();) {
121
				
123
				
-
 
124
				liste.add(listePersonnes.get(it.next()));
122
				liste.add(listePersonnes.get(it.next()));
125
			}
Line 123... Line 126...
123
			}
126
			
124
			
127
			
-
 
128
			store.add((List<Personne>) liste);
-
 
129
			
-
 
130
		}
-
 
131
		
-
 
132
	}
-
 
133
}