Subversion Repositories eFlore/Applications.cel

Rev

Rev 7 | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 7 Rev 12
1
/**
1
/**
2
 David Delon david.delon@clapas.net 2007
2
 David Delon david.delon@clapas.net 2007
3
 
3
 
4
 */
4
 */
-
 
5
 
5
 
6
 
6
/*
7
/*
7
 * ListeObservationsVue.java  (Composite de Panel)
8
 * ListeObservationsVue.java  (Composite de Panel)
8
 *
9
 *
9
 * Cas d'utilisation :
10
 * Cas d'utilisation :
10
 * 
11
 * 
11
 * Affichage de releve 
12
 * Affichage de releve 
12
 *
13
 *
13
 * 1 : Recherche du nombre de releves associe au navigateur ou a l'utilisateur est connecte, en fonction des criteres de selection
14
 * 1 : Recherche du nombre de releves associe au navigateur ou a l'utilisateur est connecte, en fonction des criteres de selection
14
 * 2 : Recherche des releves correspondant au critere precedent
15
 * 2 : Recherche des releves correspondant au critere precedent
15
 * 3 : Affichage des releves avec positionnement sur le dernier releve
16
 * 3 : Affichage des releves avec positionnement sur le dernier releve
16
 * 
17
 * 
17
 * Selection de releve
18
 * Selection de releve
18
 * 
19
 * 
19
 * 1 : L'utilisateur selectionne un releve : lancement de l'affichage detaille pour le releve selectionne
20
 * 1 : L'utilisateur selectionne un releve : lancement de l'affichage detaille pour le releve selectionne
20
 * 
21
 * 
21
 * 
22
 * 
22
 * Pagination :
23
 * Pagination :
23
 * 
24
 * 
24
 * 1 : Avancement ou recul d'une page
25
 * 1 : Avancement ou recul d'une page
25
 *
26
 *
26
 *
27
 *
27
 * 
28
 * 
28
 *  Suppression d'une liste d'element 
29
 *  Suppression d'une liste d'element 
29
 */
30
 */
-
 
31
 
30
 
32
 
31
/* Actions declenchees :
33
/* Actions declenchees :
32
 * 
34
 * 
33
 * onInventoryItemSelected(numero d'ordre de la ligne selectionne) : selection d'une ligne
35
 * onInventoryItemSelected(numero d'ordre de la ligne selectionne) : selection d'une ligne
34
 * onInventoryItemUnselected(numero d'ordre de la ligne selectionne) : deselection d'une ligne
36
 * onInventoryItemUnselected(numero d'ordre de la ligne selectionne) : deselection d'une ligne
35
 * onInventoryUpdated(localite) : action suite a la modification, suppression, creation d'un element d'inventaire
37
 * onInventoryUpdated(localite) : action suite a la modification, suppression, creation d'un element d'inventaire
36
 * 
38
 * 
37
 */
39
 */
38
 
-
 
-
 
40
 
-
 
41
 
39
package org.tela_botanica.client.observation;
42
package org.tela_botanica.client.observation;
40
 
43
 
41
import org.tela_botanica.client.modeles.Observation;
44
import org.tela_botanica.client.modeles.Observation;
42
 
45
 
43
import com.google.gwt.user.client.ui.Button;
46
import com.google.gwt.user.client.HTTPRequest;
44
import com.google.gwt.user.client.ui.ClickListener;
-
 
45
import com.google.gwt.user.client.ui.Composite;
-
 
46
import com.google.gwt.user.client.ui.DockPanel;
47
import com.google.gwt.user.client.ResponseTextHandler;
-
 
48
import com.google.gwt.user.client.ui.Composite;
47
import com.google.gwt.user.client.ui.HasHorizontalAlignment;
49
import com.google.gwt.user.client.ui.DockPanel;
48
import com.google.gwt.user.client.ui.HasVerticalAlignment;
50
import com.google.gwt.user.client.ui.HorizontalPanel;
-
 
51
import com.google.gwt.user.client.ui.Button;
-
 
52
import com.google.gwt.user.client.ui.Label;
-
 
53
import com.google.gwt.user.client.ui.Widget;
-
 
54
import com.google.gwt.user.client.ui.ClickListener;
49
import com.google.gwt.user.client.ui.HorizontalPanel;
55
import com.google.gwt.user.client.ui.HasHorizontalAlignment;
-
 
56
import com.google.gwt.user.client.ui.HasVerticalAlignment;
50
import com.google.gwt.user.client.ui.Label;
57
 
51
import com.google.gwt.user.client.ui.Widget;
58
 
52
 
59
public class ListeObservationsVue extends Composite
53
public class ListeObservationsVue extends Composite {
60
		 {
54
 
61
 
55
	// Debut Barre de navigation
62
	// Debut Barre de navigation
56
 
63
 
57
	private class NavBar extends Composite implements ClickListener {
64
	private class NavBar extends Composite implements ClickListener {
-
 
65
 
58
 
66
		
-
 
67
		public final DockPanel bar = new DockPanel();
59
		public final DockPanel bar = new DockPanel();
68
		
60
 
69
 
61
		public final Button gotoFirst = new Button("<<", this);
70
		public final Button gotoFirst = new Button("<<", this);
62
		public final Button gotoNext = new Button(">", this);
71
		public final Button gotoNext = new Button(">", this);
63
		public final Button gotoPrev = new Button("<", this);
72
		public final Button gotoPrev = new Button("<", this);
64
		public final Button gotoEnd = new Button(">>", this);
73
		public final Button gotoEnd = new Button(">>", this);
65
		public final Label status = new Label();
74
		public final Label status = new Label();
-
 
75
		
66
 
76
 
67
		public NavBar() {
77
		public NavBar() {
68
 
78
			
69
			initWidget(bar);
79
			initWidget(bar);
70
 
80
			
71
			status.setWordWrap(false);
81
			status.setWordWrap(false);
72
 
82
 
73
			HorizontalPanel buttons = new HorizontalPanel();
83
			HorizontalPanel buttons = new HorizontalPanel();
74
 
84
			
75
			buttons.add(status);
85
			buttons.add(status);
76
			buttons.setCellHorizontalAlignment(status,
86
			buttons.setCellHorizontalAlignment(status, HasHorizontalAlignment.ALIGN_RIGHT);
77
					HasHorizontalAlignment.ALIGN_RIGHT);
-
 
78
			buttons.setCellVerticalAlignment(status,
87
			buttons.setCellVerticalAlignment(status, HasVerticalAlignment.ALIGN_MIDDLE);
79
					HasVerticalAlignment.ALIGN_MIDDLE);
-
 
-
 
88
 
80
 
89
 
81
			buttons.add(gotoFirst);
90
			buttons.add(gotoFirst);
82
			buttons.add(gotoPrev);
91
			buttons.add(gotoPrev);
83
			buttons.add(gotoNext);
92
			buttons.add(gotoNext);
84
			buttons.add(gotoEnd);
93
			buttons.add(gotoEnd);
85
 
94
			
86
			bar.add(buttons, DockPanel.EAST);
95
			bar.add(buttons, DockPanel.EAST);
-
 
96
 
87
 
97
			
-
 
98
		}
88
		}
99
		
89
 
100
 
90
		public void onClick(Widget sender) {
101
		public void onClick(Widget sender) {
91
			if (sender == gotoNext) {
102
			if (sender == gotoNext) {
92
				// Move forward a page.
103
				// Move forward a page.
93
				startIndex += VISIBLE_TAXON_COUNT;
104
				startIndex += VISIBLE_TAXON_COUNT;
94
				if (startIndex >= count)
105
				if (startIndex >= count)
95
					startIndex -= VISIBLE_TAXON_COUNT;
106
					startIndex -= VISIBLE_TAXON_COUNT;
96
			} else {
107
			} else {
97
				if (sender == gotoPrev) {
108
				if (sender == gotoPrev) {
98
					// Move back a page.
109
					// Move back a page.
99
					startIndex -= VISIBLE_TAXON_COUNT;
110
					startIndex -= VISIBLE_TAXON_COUNT;
100
					if (startIndex < 0)
111
					if (startIndex < 0)
101
						startIndex = 0;
112
						startIndex = 0;
102
				} else {
113
				} else {
103
					if (sender == gotoEnd) {
114
					if (sender == gotoEnd) {
104
						gotoEnd();
115
						gotoEnd();
105
					} else {
116
					} else {
106
						if (sender == gotoFirst) {
117
						if (sender == gotoFirst) {
107
							startIndex = 0;
118
							startIndex = 0;
108
						}
119
						}
109
					}
120
					}
110
				}
121
				}
111
			}
122
			}
112
			getListeObservation();
123
			getListeObservation();
113
		}
124
		}
114
 
125
 
115
	}
126
	}
116
 
127
 
117
	// Fin Barre de navigation
128
	// Fin Barre de navigation
118
 
129
 
119
	// Conteneur (header et table sont dans panel)
130
	// Conteneur (header et table sont dans panel)
120
	// private ContentPanel panel =null;
131
//	private ContentPanel panel =null;
121
	// private Table table = null;
132
//	private Table table = null;
122
 
133
	
123
	// Services
134
	// Services 
124
	private String serviceBaseUrl = null;
135
	private String serviceBaseUrl = null;
125
	private String user;
136
	private String user;
126
	private ObservationMediateur observationMediateur = null;
137
	private ObservationMediateur observationMediateur = null;
127
 
138
 
128
	// Navigation
139
	// Navigation
129
	private int startIndex = 0;
140
	private int startIndex = 0;
130
	private int count = 0;
141
	private int count = 0;
131
	private static final int VISIBLE_TAXON_COUNT = 15;
142
	private static final int VISIBLE_TAXON_COUNT = 15;
132
	private NavBar navBar = null;
143
	private NavBar navBar=null;
133
 
144
 
134
	// Filtre par defaut :
145
	// Filtre par defaut :
135
 
146
	
136
	private String identifiantLocalite = "all";
147
	private String identifiantLocalite = "all";
137
	private String localite = "all";
148
	private String localite = "all";
138
	private String annee = "all";
149
	private String annee = "all";
139
	private String mois = "all";
150
	private String mois = "all";
140
	private String jour = "all";
151
	private String jour = "all";
141
	private String rechercheLibre = "all";
152
	private String rechercheLibre = "all";
142
	private String lieudit = "all";
153
	private String lieudit = "all";
143
	private String ordre = null;
154
	private String ordre= null;
-
 
155
	
-
 
156
	
144
 
-
 
-
 
157
 
-
 
158
 
-
 
159
	public ListeObservationsVue(ObservationMediateur observationMediateur) {
145
	public ListeObservationsVue(ObservationMediateur observationMediateur) {
160
		
146
 
161
		
147
		// Traitement contexte utilisateur et service
-
 
148
 
-
 
149
		this.observationMediateur = observationMediateur;
-
 
150
 
-
 
151
		// panel= new ContentPanel(Style.HEADER);
-
 
-
 
162
		// Traitement contexte utilisateur et service
-
 
163
 
-
 
164
		this.observationMediateur=observationMediateur;
-
 
165
 
-
 
166
	    
-
 
167
	//    panel= new ContentPanel(Style.HEADER);
-
 
168
	  //  panel.setLayout(new FillLayout());
152
		// panel.setLayout(new FillLayout());
169
	    
153
 
170
	    
154
		// Barre navigation integree au header
-
 
155
 
-
 
156
		navBar = new NavBar();
-
 
157
		// panel.getHeader().addWidget(navBar);
-
 
158
 
-
 
159
		// Contenu :
-
 
-
 
171
	    // Barre navigation integree au header 
-
 
172
	    
-
 
173
		navBar = new NavBar();
-
 
174
	//	panel.getHeader().addWidget(navBar);
-
 
175
 
-
 
176
		
-
 
177
		//  Contenu :
-
 
178
		
160
 
179
		
161
		// Colonnes :
180
		//  Colonnes :
162
 
181
		
163
		// TableColumn[] columns = new TableColumn[6];
-
 
164
 
-
 
165
		// TODO : renderer date, alignement etc
-
 
166
		/*
-
 
167
		 * columns[0] = new TableColumn("etat","Aransmis", 50);
-
 
168
		 * 
-
 
169
		 * columns[1] = new TableColumn("nom","Nom saisi", 250);
-
 
170
		 * 
-
 
171
		 * columns[2] = new TableColumn("nomr","Nom retenu", 250);
-
 
172
		 * 
-
 
173
		 * columns[3] = new TableColumn("lieu","Lieu", 350);
-
 
174
		 * 
-
 
175
		 * columns[4] = new TableColumn("date","Date", 75);
-
 
176
		 * 
-
 
177
		 * columns[5] = new TableColumn("ordre","Ordre", 50);
-
 
178
		 * 
-
 
179
		 * 
-
 
180
		 * TableColumnModel cm = new TableColumnModel(columns);
-
 
181
		 *  // Table :
-
 
182
		 * 
-
 
183
		 * table = new Table(Style.MULTI | Style.HORIZONTAL, cm);
-
 
184
		 * table.setBorders(false);
-
 
185
		 * 
-
 
186
		 * 
-
 
187
		 * panel.add(table);
-
 
188
		 * 
-
 
189
		 * 
-
 
190
		 *  // Selection d'une ligne table.addListener(Events.RowClick, new
-
 
191
		 * Listener() {
-
 
192
		 * 
-
 
193
		 * public void handleEvent(BaseEvent be) { TableItem item=(TableItem)
-
 
194
		 * be.item; if (item!=null) { if (ordre==null) { // Affichage de la
-
 
195
		 * ligne selectionne ordre= (String) item.getValue(5); //
-
 
196
		 * observationMediateur.onInventoryItemSelected(ordre); } else { // Si
-
 
197
		 * une ligne etait deja selectionne if (ordre.compareTo((String)
-
 
198
		 * item.getValue(5))==0) { // C'est la meme, on la deselectionne
-
 
199
		 * ordre=null; table.deselect(be.rowIndex); //
-
 
-
 
182
//		TableColumn[] columns = new TableColumn[6]; 
-
 
183
		
-
 
184
		// TODO : renderer date, alignement etc
-
 
185
	/*	
-
 
186
		columns[0] = new TableColumn("etat","Transmis", 50);  
-
 
187
 
-
 
188
		columns[1] = new TableColumn("nom","Nom saisi", 250);  
-
 
189
		
-
 
190
		columns[2] = new TableColumn("nomr","Nom retenu", 250);  
-
 
191
 
-
 
192
		columns[3] = new TableColumn("lieu","Lieu", 350);  
-
 
193
 
-
 
194
		columns[4] = new TableColumn("date","Date", 75);  
-
 
195
 
-
 
196
		columns[5] = new TableColumn("ordre","Ordre", 50);  
-
 
197
		
-
 
198
	
-
 
199
		TableColumnModel cm = new TableColumnModel(columns);  
-
 
200
		
-
 
201
		// Table : 
-
 
202
		
-
 
203
		table = new Table(Style.MULTI | Style.HORIZONTAL, cm);  
-
 
204
		table.setBorders(false);  
-
 
205
		
-
 
206
		
-
 
207
		panel.add(table);
-
 
208
		
-
 
209
		
-
 
210
 
-
 
211
		// Selection d'une ligne 
-
 
212
		table.addListener(Events.RowClick, new Listener() {
-
 
213
 
-
 
214
		      public void handleEvent(BaseEvent be) {
-
 
215
		        TableItem item=(TableItem) be.item;
-
 
216
		        if (item!=null) {
-
 
217
		        	if (ordre==null) { // Affichage de la ligne selectionne
-
 
218
		        		ordre= (String) item.getValue(5);
-
 
219
	//	        		observationMediateur.onInventoryItemSelected(ordre);
-
 
220
		        	}
-
 
221
		        	else { 
-
 
222
		        		// Si une ligne etait deja selectionne 
-
 
223
		        		if (ordre.compareTo((String) item.getValue(5))==0) { // C'est la meme, on la deselectionne
-
 
224
		        			ordre=null;
-
 
225
		        			table.deselect(be.rowIndex);
-
 
226
		//        			observationMediateur.onInventoryItemUnselected();
-
 
227
		        		}
-
 
228
		        		else {
-
 
229
			        		ordre= (String) item.getValue(5); // C'est une autre, on la selectionne
-
 
230
//		        			observationMediateur.onInventoryItemSelected(ordre);
-
 
231
		        		}
-
 
232
		        		
200
		 * observationMediateur.onInventoryItemUnselected(); } else { ordre=
233
		        	}
201
		 * (String) item.getValue(5); // C'est une autre, on la selectionne //
-
 
-
 
234
		        }
-
 
235
		      }
-
 
236
		});
202
		 * observationMediateur.onInventoryItemSelected(ordre); }
237
		*/
203
		 *  } } } });
238
	
204
		 */
-
 
205
 
239
	// initWidget(panel);
206
		// initWidget(panel);
240
 
207
 
241
 
208
	}
242
	}
209
 
243
	
210
	/**
244
	
211
	 * Suppression d'un ensemble d'element de la liste d'inventaire, on garde
245
	/**
212
	 * ici car s'applique a plusieurs elements
246
	 * Suppression d'un ensemble d'element de la liste d'inventaire, on garde ici car s'applique a plusieurs elements
213
	 * 
247
	 * 
214
	 */
248
	 */
215
 
249
 
216
	public void deleteElement() {
250
	public void deleteElement() {
217
		/*
251
/*
218
		 * setStatusDisabled(); TableItem[] selection=table.getSelection();
-
 
219
		 * 
-
 
220
		 * StringBuffer ids=new StringBuffer(); for (int i = 0; i <
-
 
221
		 * selection.length; i++) { ids.append((String)(((TableItem)
-
 
222
		 * selection[i]).getValue(5))); if (i<(selection.length-1))
-
 
223
		 * ids.append(","); }
252
		setStatusDisabled();
224
		 * 
-
 
225
		 * if (ids.length()>0) {
-
 
226
		 * 
-
 
227
		 * HTTPRequest.asyncPost(serviceBaseUrl + "/Inventory/" + user + "/" +
-
 
228
		 * ids.toString(), "action=DELETE",
-
 
229
		 * 
-
 
230
		 * new ResponseTextHandler() { public void onCompletion(String str) { //
-
 
231
		 * observationMediateur.onInventoryUpdated(identifiantLocalite,"all","all"); //
-
 
232
		 * observationMediateur.getEntryView().clear(); } }); }
253
		TableItem[] selection=table.getSelection();
233
		 * 
-
 
234
		 * setStatusEnabled();
-
 
235
		 */
-
 
236
	}
-
 
-
 
254
 
-
 
255
		StringBuffer ids=new StringBuffer();
-
 
256
		for (int i = 0; i < selection.length; i++) {
-
 
257
			ids.append((String)(((TableItem) selection[i]).getValue(5)));
-
 
258
			if (i<(selection.length-1)) ids.append(",");
-
 
259
		} 
-
 
260
		
-
 
261
		if (ids.length()>0) {
-
 
262
			
-
 
263
			HTTPRequest.asyncPost(serviceBaseUrl + "/Inventory/" + user
-
 
264
							+ "/" + ids.toString(), "action=DELETE",
-
 
265
							
-
 
266
							new ResponseTextHandler() {
-
 
267
								public void onCompletion(String str) {
-
 
268
	//										observationMediateur.onInventoryUpdated(identifiantLocalite,"all","all");
-
 
269
		//									observationMediateur.getEntryView().clear();
-
 
270
								}
-
 
271
							});
-
 
272
		}
-
 
273
	
-
 
274
		setStatusEnabled();
-
 
275
*/
-
 
276
	}
-
 
277
	
-
 
278
	
-
 
279
	
237
 
280
	
238
	/**
281
	/**
239
	 * Transmission de releve a Tela, on garde ici car s'applique a plusieurs
-
 
240
	 * elements
282
	 * Transmission de releve a Tela, on garde ici car s'applique a plusieurs elements
-
 
283
	 */
241
	 */
284
 
242
 
285
	
243
	public void transmitElement() {
286
	public void transmitElement() {
-
 
287
	
-
 
288
		setStatusDisabled();
244
 
-
 
245
		setStatusDisabled();
-
 
246
 
-
 
247
		/*
289
		
248
		 * TableItem[] selection=table.getSelection();
290
/*		TableItem[] selection=table.getSelection();
249
		 * 
291
 
250
		 * StringBuffer ids=new StringBuffer(); for (int i = 0; i <
292
		StringBuffer ids=new StringBuffer();
251
		 * selection.length; i++) { ids.append((String)(((TableItem)
293
		for (int i = 0; i < selection.length; i++) {
-
 
294
			ids.append((String)(((TableItem) selection[i]).getValue(5)));
252
		 * selection[i]).getValue(5))); if (i<(selection.length-1))
295
			if (i<(selection.length-1)) ids.append(",");
253
		 * ids.append(","); }
296
		} 
254
		 * 
297
	
255
		 * if (ids.length()>0) {
298
		if (ids.length()>0) {
256
		 * 
299
		
-
 
300
			HTTPRequest.asyncPost(serviceBaseUrl + "/InventoryTransmit/" + user
257
		 * HTTPRequest.asyncPost(serviceBaseUrl + "/InventoryTransmit/" + user +
301
							+ "/" + ids.toString(), "transmission=1",
258
		 * "/" + ids.toString(), "transmission=1",
302
							
259
		 * 
303
							new ResponseTextHandler() {
260
		 * new ResponseTextHandler() { public void onCompletion(String str) {
-
 
261
		 * getListeObservation(); // Pour affichage logo } }); }
304
								public void onCompletion(String str) {
262
		 * 
305
											getListeObservation(); // Pour affichage logo 
263
		 * setStatusEnabled();
306
								}
-
 
307
							});
-
 
308
		}
-
 
309
	
-
 
310
		setStatusEnabled();
-
 
311
 
264
		 * 
312
		*/
265
		 */
313
	}
266
	}
-
 
267
 
314
	
268
	/**
315
	
269
	 * Recherche nombre d'enregistrement pour l'utilisateur et la localite en
316
	/**
270
	 * cours
317
	 * Recherche nombre d'enregistrement pour l'utilisateur et la localite en cours
271
	 * 
318
	 * 
272
	 */
319
	 */
273
 
320
	
274
	public void initialiser() {
321
	public void initialiser() {
275
 
-
 
276
		setStatusDisabled();
-
 
277
 
-
 
278
		// observationMediateur.addListener(ObservationMediateur.NOMBRE_OBSERVATION,this);
-
 
-
 
322
		
279
		observationMediateur.getNombreObservation(identifiantLocalite,
323
		setStatusDisabled();
280
				localite, annee, mois, jour, lieudit, rechercheLibre); // Retour
324
 
281
																		// dans
325
	//	observationMediateur.addListener(ObservationMediateur.NOMBRE_OBSERVATION,this);
282
																		// handlevent()
326
	//	observationMediateur.getNombreObservation(identifiantLocalite,localite,annee, mois, jour ,lieudit,rechercheLibre); // Retour dans handlevent() NOMBRE_OBSERVATION
283
																		// NOMBRE_OBSERVATION
327
 
284
 
328
		
285
	}
329
	}
286
 
330
	
287
	/**
331
	/**
288
	 * Mise a jour de l'affichage, a partir des donnaes d'inventaire deja
332
	 * Mise a jour de l'affichage, a partir des donnaes d'inventaire deja
289
	 * saisies. La valeur de this.startIndex permet de determiner quelles
333
	 * saisies. La valeur de this.startIndex permet de determiner quelles
290
	 * donnaes seront affichees
334
	 * donnaes seront affichees
291
	 * 
335
	 * 
292
	 */
336
	 */
293
 
337
 
294
	public void getListeObservation() {
338
	public void getListeObservation() {
295
 
339
 
296
		// observationMediateur.addListener(ObservationMediateur.LISTE_OBSERVATION,this);
340
	//	observationMediateur.addListener(ObservationMediateur.LISTE_OBSERVATION,this);
297
		observationMediateur.getListeObservation(identifiantLocalite, localite,
-
 
298
				annee, mois, jour, lieudit, rechercheLibre, startIndex,
-
 
299
				VISIBLE_TAXON_COUNT); // Retour dans handlevent()
-
 
300
										// LISTE_OBSERVATION
341
	//	observationMediateur.getListeObservation(identifiantLocalite,localite,annee, mois, jour ,lieudit,rechercheLibre, startIndex, VISIBLE_TAXON_COUNT); // Retour dans handlevent() LISTE_OBSERVATION
301
 
342
		
302
	}
343
	}
303
 
344
	
304
	public void afficherListeObservation() {
345
	public void afficherListeObservation() {
305
 
-
 
306
		Observation[] listeObservation = observationMediateur.getObservation()
346
 
307
				.getListeObservation();
347
//		Observation[] listeObservation =observationMediateur.getObservation().getListeObservation();
308
 
348
		/*
309
		for (int i = 0; i < listeObservation.length; i++) {
349
		for (int i=0;i<listeObservation.length;i++) {
310
 
350
		
311
			Object[] values = new Object[6];
351
			Object[] values = new Object[6];
312
			values[0] = "0";
352
			values[0]="0";
313
			values[2] = "2";
353
			values[2]="2";
314
			values[3] = "3";
354
			values[3]="3";
315
			values[4] = "4";
355
			values[4]="4";
-
 
356
			values[5]="5";
-
 
357
			values[1]=listeObservation[i].getNomSaisi();
-
 
358
			*/
-
 
359
    	//	table.add(new TableItem(values));
-
 
360
			
-
 
361
		}
316
			values[5] = "5";
362
		
-
 
363
//      Ligne d'information 
317
			values[1] = listeObservation[i].getNomSaisi();
364
 
-
 
365
		// Toutes date par defaut
318
 
366
/*		
319
			// table.add(new TableItem(values));
-
 
320
 
-
 
321
		}
-
 
322
 
-
 
323
		// Ligne d'information
-
 
324
 
-
 
325
		// Toutes date par defaut
-
 
326
		/*
-
 
327
		 * 
-
 
328
		 * HTTPRequest.asyncGet(serviceBaseUrl + "/InventoryItemList/" + user +
-
 
329
		 * "/" + identifiantLocalite + "/" + URL.encodeComponent(localite) +"/" +
-
 
330
		 * annee + "/" + mois + "/" + jour + "/" +
-
 
331
		 * URL.encodeComponent(rechercheLibre) + "/" +
367
 
332
		 * URL.encodeComponent(lieudit) + "/" + startIndex + "/" +
368
		HTTPRequest.asyncGet(serviceBaseUrl + "/InventoryItemList/" + user + "/" + identifiantLocalite + "/" + URL.encodeComponent(localite) +"/" + annee  + "/"  + mois  + "/"  + jour   + "/" + URL.encodeComponent(rechercheLibre) + "/" + URL.encodeComponent(lieudit) + "/"
333
		 * VISIBLE_TAXON_COUNT,
369
				+ startIndex + "/" + VISIBLE_TAXON_COUNT,
-
 
370
 
334
		 * 
371
		new ResponseTextHandler() {
335
		 * new ResponseTextHandler() {
372
 
336
		 * 
373
			public void onCompletion(String str) {
337
		 * public void onCompletion(String str) {
374
 
338
		 * 
375
				JSONValue jsonValue = JSONParser.parse(str);
339
		 * JSONValue jsonValue = JSONParser.parse(str); JSONArray jsonArray;
376
				JSONArray jsonArray;
340
		 * JSONArray jsonArrayNested;
377
				JSONArray jsonArrayNested;
341
		 * 
378
				
342
		 * int i=0;
379
				int i=0;
343
		 * 
380
 
344
		 * if ((jsonArray = jsonValue.isArray()) != null) {
381
				if ((jsonArray = jsonValue.isArray()) != null) {
345
		 * 
382
					
346
		 * StringBuffer lieu=null;
383
					StringBuffer lieu=null;
347
		 * 
384
 
348
		 * int arraySize = jsonArray.size();
385
					int arraySize = jsonArray.size();
-
 
386
					
349
		 * 
387
					for (i = 0; i < arraySize; ++i) {
350
		 * for (i = 0; i < arraySize; ++i) { if ((jsonArrayNested =
388
						if ((jsonArrayNested = jsonArray.get(i).isArray()) != null) {
351
		 * jsonArray.get(i).isArray()) != null) {
389
							
352
		 * 
390
 
-
 
391
							Object[] values = new Object[6];
353
		 * 
392
							
-
 
393
													
354
		 * Object[] values = new Object[6];
394
							// Statut Observation transmise ?
355
		 * 
395
							
356
		 *  // Statut Observation transmise ?
396
							String atransmit=((JSONString) jsonArrayNested .get(13)).stringValue();
357
		 * 
397
							
-
 
398
							if (atransmit.compareTo("1")==0) {
-
 
399
								values[0] = new Image("tela.gif");
358
		 * String atransmit=((JSONString) jsonArrayNested
400
							}
359
		 * .get(13)).stringValue();
401
							else {
360
		 * 
402
								values[0] = new HTML("&nbsp;");
361
		 * if (atransmit.compareTo("1")==0) { values[0] = new Image("tela.gif"); }
-
 
-
 
403
							}
362
		 * else { values[0] = new HTML("&nbsp;"); }
404
							
363
		 * 
405
						
364
		 *  // Nom saisi
406
							// Nom saisi
365
		 * 
407
							
366
		 * values[1] = new HTML("<b>"+Util.toCelString(((JSONString)
408
							values[1] = new HTML("<b>"+Util.toCelString(((JSONString) jsonArrayNested .get(0)).toString())+"</b>");
367
		 * jsonArrayNested .get(0)).toString())+"</b>");
409
							
-
 
410
							
-
 
411
 
-
 
412
							// Nom retenu
368
		 * 
413
							String aname=Util.toCelString(((JSONString) jsonArrayNested .get(2)).toString());
-
 
414
							
-
 
415
							if (aname.compareTo("null")==0) {
-
 
416
								values[2] = new HTML("&nbsp;");
-
 
417
							}
369
		 * 
418
							else {
370
		 *  // Nom retenu String aname=Util.toCelString(((JSONString)
419
								values[2] = new HTML(aname);
371
		 * jsonArrayNested .get(2)).toString());
420
							}
-
 
421
							/*
372
		 * 
422
							 
-
 
423
							 /*
-
 
424
							// Num nomenclatural
373
		 * if (aname.compareTo("null")==0) { values[2] = new HTML("&nbsp;"); }
425
							String ann=((JSONString) jsonArrayNested .get(3)).stringValue();
374
		 * else { values[2] = new HTML(aname); } /*
426
							
-
 
427
							if (ann.compareTo("0")!=0) {
-
 
428
								observationText.append(""+ann+"-");
375
		 *  /* // Num nomenclatural String ann=((JSONString) jsonArrayNested
429
							}
376
		 * .get(3)).stringValue();
430
							else {
377
		 * 
431
								observationText.append("0-");
378
		 * if (ann.compareTo("0")!=0) { observationText.append(""+ann+"-"); }
432
							}
-
 
433
							
379
		 * else { observationText.append("0-"); }
434
							
-
 
435
							// Num Taxonomique
-
 
436
							
380
		 * 
437
							String ant=((JSONString) jsonArrayNested .get(4)).stringValue();
-
 
438
							
-
 
439
							if (ant.compareTo("0")!=0) {
381
		 *  // Num Taxonomique
440
								observationText.append(ant+", ");
382
		 * 
441
							}
383
		 * String ant=((JSONString) jsonArrayNested .get(4)).stringValue();
442
							else {
384
		 * 
443
								observationText.append("0, ");
-
 
444
							}
385
		 * if (ant.compareTo("0")!=0) { observationText.append(ant+", "); } else {
445
							
-
 
446
							// Famille
386
		 * observationText.append("0, "); }
447
							
387
		 *  // Famille
448
							
388
		 * 
449
							String afamily=Util.toCelString(((JSONString) jsonArrayNested .get(5)).toString());
-
 
450
							
389
		 * 
451
							if (afamily.compareTo("null")==0) {
390
		 * String afamily=Util.toCelString(((JSONString) jsonArrayNested
452
								//
470
		 * item=table.getItem(j); table.remove(item); } }
-
 
471
		 * 
590
			}
472
		 * setStatusEnabled();
591
		});
473
		 * 
592
				*/
474
		 *  } });
593
		
475
		 */
594
 
476
 
595
//	}
477
	}
596
 
478
 
597
 
479
	/**
598
	/**
480
	 * Affichage message d'attente et desactivation navigation
599
	 * Affichage message d'attente et desactivation navigation
481
	 * 
600
	 * 
482
	 * @param
601
	 * @param
483
	 * @return void
602
	 * @return void
484
	 */
603
	 */
485
 
604
 
486
	private void setStatusDisabled() {
605
	private void setStatusDisabled() {
487
 
606
 
488
		navBar.gotoFirst.setEnabled(false);
607
		navBar.gotoFirst.setEnabled(false);
489
		navBar.gotoPrev.setEnabled(false);
608
		navBar.gotoPrev.setEnabled(false);
490
		navBar.gotoNext.setEnabled(false);
609
		navBar.gotoNext.setEnabled(false);
491
		navBar.gotoEnd.setEnabled(false);
610
		navBar.gotoEnd.setEnabled(false);
492
 
611
 
493
		navBar.status.setText("Patientez ...");
612
		navBar.status.setText("Patientez ...");
494
	}
613
	}
495
 
614
 
496
	/**
615
	/**
497
	 * Affichage numero de page et gestion de la navigation
616
	 * Affichage numero de page et gestion de la navigation
498
	 * 
617
	 * 
499
	 */
618
	 */
500
 
619
 
501
	private void setStatusEnabled() {
620
	private void setStatusEnabled() {
502
 
621
 
503
		// Il y a forcemment un disabled avant d'arriver ici
622
		// Il y a forcemment un disabled avant d'arriver ici
504
 
623
 
505
		if (count > 0) {
624
		if (count > 0) {
506
 
625
 
507
			if (startIndex >= VISIBLE_TAXON_COUNT) { // Au dela de la
626
			if (startIndex >= VISIBLE_TAXON_COUNT) { // Au dela de la
508
				// premiere page
627
														// premiere page
509
				navBar.gotoPrev.setEnabled(true);
628
				navBar.gotoPrev.setEnabled(true);
510
				navBar.gotoFirst.setEnabled(true);
629
				navBar.gotoFirst.setEnabled(true);
511
				if (startIndex < (count - VISIBLE_TAXON_COUNT)) { // Pas la
630
				if (startIndex < (count - VISIBLE_TAXON_COUNT)) { // Pas la
512
					// derniere
631
																	// derniere
513
					// page
632
																	// page
514
					navBar.gotoNext.setEnabled(true);
633
					navBar.gotoNext.setEnabled(true);
515
					navBar.gotoEnd.setEnabled(true);
634
					navBar.gotoEnd.setEnabled(true);
516
					navBar.status.setText((startIndex + 1) + " - "
635
					navBar.status.setText((startIndex + 1) + " - "
517
							+ (startIndex + VISIBLE_TAXON_COUNT) + " sur "
636
							+ (startIndex + VISIBLE_TAXON_COUNT) + " sur " + count );
518
							+ count);
-
 
519
				} else { // Derniere page
637
				} else { // Derniere page
520
					navBar.status.setText((startIndex + 1) + " - " + count
638
					navBar.status.setText((startIndex + 1) + " - " + count + " sur " + count );
521
							+ " sur " + count);
-
 
522
				}
639
				}
523
			} else { // Premiere page
640
			} else { // Premiere page
524
				if (count > VISIBLE_TAXON_COUNT) { // Des pages derrieres
641
				if (count > VISIBLE_TAXON_COUNT) { // Des pages derrieres
525
					navBar.gotoNext.setEnabled(true);
642
					navBar.gotoNext.setEnabled(true);
526
					navBar.gotoEnd.setEnabled(true);
643
					navBar.gotoEnd.setEnabled(true);
527
					navBar.status.setText((startIndex + 1) + " - "
644
					navBar.status.setText((startIndex + 1) + " - "
528
							+ (startIndex + VISIBLE_TAXON_COUNT) + " sur "
645
							+ (startIndex + VISIBLE_TAXON_COUNT) + " sur " + count);
529
							+ count);
-
 
530
				} else {
646
				} else {
531
					navBar.status.setText((startIndex + 1) + " - " + count
647
					navBar.status.setText((startIndex + 1) + " - " + count + " sur " + count);
532
							+ " sur " + count);
-
 
533
				}
648
				}
534
			}
649
			}
535
		}
650
		}
536
 
651
 
537
		else { // Pas d'inventaire, pas de navigation
652
		else { // Pas d'inventaire, pas de navigation
538
			navBar.status.setText("0 - 0 sur 0");
653
			navBar.status.setText("0 - 0 sur 0");
539
		}
654
		}
540
	}
655
	}
541
 
656
 
542
	/*
657
	/*
543
	 * Positionnement index de parcours (this.startIndex) pour affichage de la
658
	 * Positionnement index de parcours (this.startIndex) pour affichage de la
544
	 * derniere page
659
	 * derniere page
545
	 * 
660
	 * 
-
 
661
	 * @param
546
	 * @param @return void
662
	 * @return void
547
	 */
663
	 */
548
 
664
 
549
	private void gotoEnd() {
665
	private void gotoEnd() {
550
 
666
 
551
		if ((count == 0) || (count % VISIBLE_TAXON_COUNT) > 0) {
667
		if ((count == 0) || (count % VISIBLE_TAXON_COUNT) > 0) {
552
			startIndex = count - (count % VISIBLE_TAXON_COUNT);
668
			startIndex = count - (count % VISIBLE_TAXON_COUNT);
553
		} else {
669
		} else {
554
			startIndex = count - VISIBLE_TAXON_COUNT;
670
			startIndex = count - VISIBLE_TAXON_COUNT;
555
		}
671
		}
556
 
672
 
557
	}
673
	}
558
 
674
 
559
	/*
675
	/*
560
	 * Recherche en cours
676
	 * Recherche en cours
561
	 * 
677
	 * 
562
	 */
678
	 */
563
 
679
	
564
	public void setRechercheLibre(String search) {
680
	public void setRechercheLibre(String search) {
565
		this.rechercheLibre = search;
681
		this.rechercheLibre = search;
566
	}
682
	}
-
 
683
 
-
 
684
 
567
 
685
	
568
	/*
686
	/*
569
	 * Departement en cours
687
	 * Departement en cours 
570
	 * 
688
	 * 
571
	 */
689
	 */
572
 
690
	
573
	public void setIdLocation(String id_location) {
691
	public void setIdLocation(String id_location) {
574
		this.identifiantLocalite = id_location;
692
		this.identifiantLocalite = id_location;
575
	}
693
	}
-
 
694
 
-
 
695
 
576
 
696
	
577
	/*
697
	/*
578
	 * Localite en cours
698
	 * Localite en cours 
579
	 * 
699
	 * 
580
	 */
700
	 */
581
 
701
	
582
	public void setLocalite(String location) {
702
	public void setLocalite(String location) {
583
		this.localite = location;
703
		this.localite = location;
584
	}
704
	}
-
 
705
 
-
 
706
 
585
 
707
	
586
	/*
708
	/*
587
	 * Lieudit en cours
709
	 * Lieudit en cours 
588
	 * 
710
	 * 
589
	 */
711
	 */
590
 
712
 
591
	public void setLieudit(String lieudit) {
713
	public void setLieudit(String lieudit) {
592
		this.lieudit = lieudit;
714
		this.lieudit = lieudit;
593
	}
715
	}
-
 
716
 
-
 
717
	
594
 
718
	
595
	/*
719
	/*
596
	 * Date en cours
720
	 * Date en cours 
597
	 * 
721
	 * 
-
 
722
	 */
598
	 */
723
	
599
 
724
 
600
	public void setAnnee(String year) {
725
	public void setAnnee(String year) {
601
		this.annee = year;
726
		this.annee = year;
602
	}
727
	}
-
 
728
 
603
 
729
 
604
	public void setMois(String month) {
730
	public void setMois(String month) {
605
		this.mois = month;
731
		this.mois = month;
606
	}
732
	}
607
 
733
 
608
	public void setJour(String day) {
734
	public void setJour(String day) {
609
		this.jour = day;
735
		this.jour = day;
610
	}
736
	}
-
 
737
 
611
 
738
	
612
	/*
739
	/*
613
	 * Utilisateur en cours
740
	 * Utilisateur en cours 
614
	 * 
741
	 * 
-
 
742
	 */
-
 
743
	
615
	 */
744
 
616
 
745
	
617
	public void setUser(String user) {
746
	public void setUser(String user) {
618
		this.user = user;
747
		this.user = user;
619
	}
748
	}
620
 
-
 
-
 
749
 
-
 
750
 
-
 
751
	public void displayFilter() {
-
 
752
		
621
	public void displayFilter() {
753
		
622
 
754
	
623
		// Mise a jour boutton export feuille de calcul
755
	// Mise a jour boutton export feuille de calcul
-
 
756
 
624
 
757
		/*
625
		/*
758
	observationMediateur.getActionView().getExportButton().setHTML("<a href=\""+observationMediateur.getServiceBaseUrl()+"/InventoryExport/" 
626
		 * observationMediateur.getActionView().getExportButton().setHTML("<a
759
			+  user + "/"
-
 
760
			+ URL.encodeComponent(identifiantLocalite) + "/"
-
 
761
			+ URL.encodeComponent(localite) + "/"
-
 
762
			+ URL.encodeComponent(lieudit)+ "/"
627
		 * href=\""+observationMediateur.getServiceBaseUrl()+"/InventoryExport/" +
763
			+ annee + "/"
628
		 * user + "/" + URL.encodeComponent(identifiantLocalite) + "/" +
764
			+ mois  + "/"
629
		 * URL.encodeComponent(localite) + "/" + URL.encodeComponent(lieudit)+
765
			+ jour 
630
		 * "/" + annee + "/" + mois + "/" + jour + "\">"+"Export&nbsp;tableur</a>");
766
			+ "\">"+"Export&nbsp;tableur</a>");
-
 
767
 
-
 
768
	*/
631
		 * 
769
	// Mise a jour ligne de selection 
632
		 */
770
	
633
		// Mise a jour ligne de selection
771
	
634
 
772
	
-
 
773
	String dep;
635
		String dep;
774
	if (identifiantLocalite.compareTo("all")==0) {
636
		if (identifiantLocalite.compareTo("all") == 0) {
775
		dep="Tous d&eacute;partements";
637
			dep = "Tous d&eacute;partements";
776
	}
638
		} else {
-
 
639
			if (identifiantLocalite.compareTo("000null") == 0) {
-
 
640
				dep = "D&eacute;partements non renseign&eacute;es ";
-
 
641
			} else {
777
	else {
642
				dep = "Département " + identifiantLocalite;
-
 
643
			}
-
 
644
		}
-
 
645
 
-
 
646
		String com;
778
		if (identifiantLocalite.compareTo("000null")==0) {
647
		if (localite.compareTo("all") == 0) {
-
 
648
			com = ", toutes communes";
-
 
649
		} else {
-
 
650
			if (localite.compareTo("000null") == 0) {
779
			dep="D&eacute;partements non renseign&eacute;es ";
651
				com = ", communes non renseign&eacute;es";
-
 
652
			} else {
780
		}
-
 
781
		else {
653
				com = ", commune de " + localite;
782
		dep="Département "+identifiantLocalite;
654
			}
783
		}
655
		}
784
	}
-
 
785
	
656
 
786
	
657
		String lieu;
787
	
-
 
788
	String com;
658
 
789
	if (localite.compareTo("all")==0) {
659
		if (lieudit.compareTo("all") == 0) {
790
		com=", toutes communes";
660
			lieu = ", tous lieux dits";
791
	}
661
		} else {
-
 
662
			if (lieudit.compareTo("000null") == 0) {
-
 
663
				lieu = ", lieu-dit non renseign&eacute;es";
-
 
664
			} else {
792
	else {
665
				lieu = ", lieu-dit " + lieudit;
-
 
666
			}
793
		if (localite.compareTo("000null")==0) {
667
		}
-
 
668
 
-
 
669
		String dat;
-
 
670
 
794
			com=", communes non renseign&eacute;es";
671
		if ((annee.compareTo("all") == 0) && (mois.compareTo("all") == 0)
795
		}
-
 
796
		else {
-
 
797
		com=", commune de "+localite;
-
 
798
		}
-
 
799
	}
-
 
800
 
-
 
801
	
-
 
802
	
-
 
803
	String lieu;
-
 
804
	
-
 
805
	if (lieudit.compareTo("all")==0) {
-
 
806
		lieu=", tous lieux dits";
-
 
807
	}
672
				&& (jour.compareTo("all") == 0)) {
808
	else {
-
 
809
		if (lieudit.compareTo("000null")==0) {
-
 
810
			lieu=", lieu-dit non renseign&eacute;es";
-
 
811
		}
-
 
812
		else {
-
 
813
			lieu=", lieu-dit "+ lieudit;
-
 
814
		}
-
 
815
	}
-
 
816
	
-
 
817
	String dat;
-
 
818
	
-
 
819
	if ((annee.compareTo("all")==0) && (mois.compareTo("all")==0) && (jour.compareTo("all")==0)) {
-
 
820
		dat=", toutes periodes";
-
 
821
	}
-
 
822
	
-
 
823
	else {
-
 
824
	
-
 
825
    	String yea="";
-
 
826
       	String da="";
-
 
827
       	String mont="";
-
 
828
       	
-
 
829
    	if (annee.compareTo("all")==0) {
-
 
830
    		yea=", toutes ann&eacute;es";
-
 
831
    	}
-
 
832
    	else {
-
 
833
    		if (annee.compareTo("0")==0) {
-
 
834
    			yea=", periode non renseign&eacute;e";
-
 
835
    		}
-
 
836
    		else {
-
 
837
    			yea=", "+ annee;
-
 
838
    
-
 
839
            	if (mois.compareTo("all")==0) {
-
 
840
            		mont=", tous mois";
-
 
841
            	}
-
 
842
            	else {
-
 
843
            			mont="/"+ mois;
-
 
844
            	}
-
 
845
            
-
 
846
            
-
 
847
            	if (jour.compareTo("all")==0) {
-
 
848
            		da=", tous jours";
-
 
849
            	}
-
 
850
            	else {
-
 
851
            			da="/"+ jour;
-
 
852
            	}
-
 
853
    		}
-
 
854
    	}
673
			dat = ", toutes periodes";
-
 
674
		}
-
 
-
 
855
            	
675
 
856
        dat=yea + mont + da;
676
		else {
-
 
677
 
-
 
678
			String yea = "";
-
 
679
			String da = "";
-
 
680
			String mont = "";
-
 
681
 
-
 
682
			if (annee.compareTo("all") == 0) {
-
 
683
				yea = ", toutes ann&eacute;es";
-
 
684
			} else {
-
 
685
				if (annee.compareTo("0") == 0) {
857
    	
686
					yea = ", periode non renseign&eacute;e";
-
 
687
				} else {
858
	}
688
					yea = ", " + annee;
-
 
689
 
-
 
690
					if (mois.compareTo("all") == 0) {
-
 
691
						mont = ", tous mois";
-
 
692
					} else {
-
 
693
						mont = "/" + mois;
-
 
694
					}
-
 
695
 
-
 
-
 
859
 
-
 
860
	
-
 
861
	//panel.getHeader().setText(dep + com + lieu + dat);
-
 
862
 
-
 
863
 
-
 
864
	
-
 
865
}
-
 
866
 
-
 
867
 
-
 
868
 
-
 
869
	/// EVENEMENTS 
-
 
870
	
-
 
871
/**
-
 
872
 * Evenements
-
 
873
 * 
-
 
874
 */	
696
					if (jour.compareTo("all") == 0) {
875
	/*
697
						da = ", tous jours";
-
 
698
					} else {
-
 
699
						da = "/" + jour;
-
 
700
					}
876
	public void handleEvent(BaseEvent be) {
-
 
877
		switch (be.type) {
701
				}
-
 
702
			}
-
 
703
 
-
 
704
			dat = yea + mont + da;
-
 
705
 
-
 
706
		}
-
 
707
 
-
 
708
		// panel.getHeader().setText(dep + com + lieu + dat);
-
 
709
 
-
 
710
	}
-
 
711
 
-
 
712
	// / EVENEMENTS
-
 
713
 
-
 
714
	/**
878
			case ObservationMediateur.NOMBRE_OBSERVATION:
715
	 * Evenements
879
				gotoEnd();
716
	 * 
880
				getListeObservation();	
717
	 */
881
				break;
718
	/*
882
			case ObservationMediateur.LISTE_OBSERVATION:
719
	 * public void handleEvent(BaseEvent be) { switch (be.type) { case
883
				afficherListeObservation();
720
	 * ObservationMediateur.NOMBRE_OBSERVATION: gotoEnd();
884
				break;
721
	 * getListeObservation(); break; case
885
		}
722
	 * ObservationMediateur.LISTE_OBSERVATION: afficherListeObservation();
886
	}
723
	 * break; } }
887
*/
724
	 */
888
 
725
 
889
 
726
}
890
}
727
 
-
 
728
/*
-
 
729
 * +--Fin du code
-
 
730
 * ---------------------------------------------------------------------------------------+
-
 
731
 * $Log: not supported by cvs2svn $ Revision 1.1 2008-09-19 10:27:18
-
 
732
 * aperonnet Carnet en ligne, utilisant gwt 1.5 et la nouvelle version de
-
 
733
 * gwt-ext (plus de bugs au demarrage dans firefox, plus rapide et annotations
-
 
734
 * java)
-
 
735
 * 
-
 
736
 * Revision 1.3 2008-06-17 14:16:16 aperonnet *** empty log message ***
-
 
737
 * 
-
 
738
 * Revision 1.2 2008-06-09 16:29:01 ddelon import branche observation
-
 
739
 * 
-
 
740
 * Revision 1.1 2008-06-09 14:19:37 ddelon Initialisation observation
-
 
741
 * 
-
 
742
 * Revision 1.3 2008-04-28 13:10:43 ddelon Integration MyGwt
-
 
743
 * 
-
 
744
 * Revision 1.2 2008-01-30 08:55:40 ddelon fin mise en place mygwt
-
 
745
 * 
-
 
746
 * Revision 1.1 2008-01-02 21:26:04 ddelon mise en place mygwt
-
 
747
 * 
-
 
748
 * Revision 1.8 2007-12-22 14:48:53 ddelon Documentation et refactorisation
-
 
749
 * 
-
 
750
 * Revision 1.7 2007-09-17 19:25:34 ddelon Documentation
-
 
751
 * 
-
 
752
 */
891
 
-
 
892
/* +--Fin du code ---------------------------------------------------------------------------------------+
-
 
893
* $Log$
-
 
894
* Revision 1.4  2008-11-13 11:27:05  ddelon
-
 
895
* Reecriture gwt-ext
-
 
896
*
-
 
897
* Revision 1.3  2008-06-17 14:16:16  aperonnet
-
 
898
* *** empty log message ***
-
 
899
*
-
 
900
* Revision 1.2  2008-06-09 16:29:01  ddelon
-
 
901
* import branche observation
-
 
902
*
-
 
903
* Revision 1.1  2008-06-09 14:19:37  ddelon
-
 
904
* Initialisation observation
-
 
905
*
-
 
906
* Revision 1.3  2008-04-28 13:10:43  ddelon
-
 
907
* Integration MyGwt
-
 
908
*
-
 
909
* Revision 1.2  2008-01-30 08:55:40  ddelon
-
 
910
* fin mise en place mygwt
-
 
911
*
-
 
912
* Revision 1.1  2008-01-02 21:26:04  ddelon
-
 
913
* mise en place mygwt
-
 
914
*
-
 
915
* Revision 1.8  2007-12-22 14:48:53  ddelon
-
 
916
* Documentation et refactorisation
-
 
917
*
-
 
918
* Revision 1.7  2007-09-17 19:25:34  ddelon
-
 
919
* Documentation
-
 
920
*
-
 
921
*/
753
922