Subversion Repositories eFlore/Archives.cel-v1

Rev

Rev 24 | Rev 26 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 24 Rev 25
1
package org.tela_botanica.client;
1
package org.tela_botanica.client;
2
 
2
 
3
 
3
 
4
// TODO : sortie User vers une classe ...
4
// TODO : sortie User vers une classe ...
5
// TODO : sortie les boutons supprimer et exporter et inclure ici
5
// TODO : sortie les boutons supprimer et exporter et inclure ici
6
 
6
 
7
import com.google.gwt.i18n.client.Dictionary;
7
import com.google.gwt.i18n.client.Dictionary;
8
import com.google.gwt.json.client.JSONArray;
8
import com.google.gwt.json.client.JSONArray;
9
import com.google.gwt.json.client.JSONBoolean;
9
import com.google.gwt.json.client.JSONBoolean;
10
import com.google.gwt.json.client.JSONParser;
10
import com.google.gwt.json.client.JSONParser;
11
import com.google.gwt.json.client.JSONString;
11
import com.google.gwt.json.client.JSONString;
12
import com.google.gwt.json.client.JSONValue;
12
import com.google.gwt.json.client.JSONValue;
13
import com.google.gwt.user.client.HTTPRequest;
13
import com.google.gwt.user.client.HTTPRequest;
14
import com.google.gwt.user.client.ResponseTextHandler;
14
import com.google.gwt.user.client.ResponseTextHandler;
15
import com.google.gwt.user.client.ui.TextBox;
15
import com.google.gwt.user.client.ui.TextBox;
16
 
16
 
17
public class Mediator {
17
public class Mediator {
18
		
18
		
19
		
19
		
20
		private String serviceBaseUrl = getServiceBaseUrlFromDictionnary();
20
		private String serviceBaseUrl = getServiceBaseUrlFromDictionnary();
21
		private String user = null;
21
		private String user = null;
22
		private InventoryItemList inventoryItemList = null;
22
		private InventoryItemList inventoryItemList = null;
23
		private LocationList locationList = null;
23
		private LocationList locationList = null;
24
		private DateList dateList = null;
24
		private DateList dateList = null;
25
		private StationList stationList = null;
25
		private StationList stationList = null;
26
		private NameAssistant nameAssistant=null;
26
		private NameAssistant nameAssistant=null;
27
		private LocationAssistant locationAssistant=null;
27
		private LocationAssistant locationAssistant=null;
28
		private InventoryItem inventoryItem=null;
28
		private InventoryItem inventoryItem=null;
29
		private EntryPanel entryPanel=null;
29
		private EntryPanel entryPanel=null;
-
 
30
		private ActionPanel actionPanel=null;
30
		private TopPanel topPanel=null;
31
		private TopPanel topPanel=null;
-
 
32
		private LeftPanel leftPanel=null;
-
 
33
		private InfoPopup infoPopup=null;
31
		
34
		
32
		private TextBox date = null; 
35
		private TextBox date = null; 
33
		private TextBox complementLocation = null; 
36
		private TextBox complementLocation = null; 
34
		private TextBox comment = null;
37
		private TextBox comment = null;
35
 
38
 
36
		boolean connected=false;
39
		boolean connected=false;
37
 
40
 
38
 
41
 
39
		private Cel cel = null;
42
		private Cel cel = null;
40
 
43
 
41
		
44
		
42
		Mediator() {
45
		Mediator() {
43
			
46
			
44
			
47
			
45
		}
48
		}
46
	
49
	
47
		/**
50
		/**
48
		 * Recuperation information utilisateur
51
		 * Recuperation information utilisateur
49
		 *
52
		 *
50
		 */
53
		 */
51
		
54
		
52
		public void initUser() {
55
		public void initUser() {
53
			getUserFromService();
56
			getUserFromService();
54
			
57
			
55
		}
58
		}
56
		
59
		
57
		
60
		
58
		/**
61
		/**
59
		 * Action initialisation
62
		 * Action initialisation
60
		 */
63
		 */
61
		
64
		
62
	
65
	
63
		public void onInit() {
66
		public void onInit() {
64
 
67
 
65
			
68
			
66
			locationList.setLocation("all");
69
			locationList.setLocation("all");
67
			locationList.updateCount();
70
			locationList.updateCount();
68
 
71
 
69
			this.onLocationSelected("all");
72
			this.onLocationSelected("all");
70
			
73
			
71
		}
74
		}
72
		
75
		
73
		
76
		
74
		/**
77
		/**
75
		 * Action suite ajout, modification, suppression element inventaire
78
		 * Action suite ajout, modification, suppression element inventaire
76
		 */
79
		 */
77
		
80
		
78
	
81
	
79
		public void onInventoryUpdated(String location) {
82
		public void onInventoryUpdated(String location) {
80
 
83
 
81
			
84
			
82
			locationList.setLocation(location);
85
			locationList.setLocation(location);
83
			locationList.updateCount();
86
			locationList.updateCount();
84
 
87
 
85
			this.onLocationSelected(location);
88
			this.onLocationSelected(location);
86
			
89
			
87
		}
90
		}
88
		
91
		
89
		
92
		
90
		/**
93
		/**
91
		 * Action sur selection d'une observation : affichage du detail
94
		 * Action sur selection d'une observation : affichage du detail
92
		 */
95
		 */
93
		
96
		
94
		public void onInventoryItemSelected(String ordre) {
97
		public void onInventoryItemSelected(String ordre) {
95
		
98
		
96
			entryPanel.setOrdre(ordre);
99
			entryPanel.setOrdre(ordre);
97
			entryPanel.update();
100
			entryPanel.update();
98
			
101
			
99
			
102
			
100
		}
103
		}
101
 
104
 
102
		
105
		
103
		/**
106
		/**
104
		 * Action sur recherche  : affichage de la liste des taxons correspondants
107
		 * Action sur recherche  : affichage de la liste des taxons correspondants
105
		 */
108
		 */
106
		
109
		
107
		public void onSearch(String search) {
110
		public void onSearch(String search) {
108
	
111
	
109
			if (search.trim().compareTo("")==0) {
112
			if (search.trim().compareTo("")==0) {
110
				search="all";
113
				search="all";
111
			}
114
			}
112
			inventoryItemList.setSearch(search);
115
			inventoryItemList.setSearch(search);
113
			inventoryItemList.updateCount();
116
			inventoryItemList.updateCount();
114
			
117
			
115
		}
118
		}
116
 
119
 
117
		
120
		
118
		
121
		
119
		/**
122
		/**
120
		 * Action sur selection d'un lieu : affichage de la liste des taxons correspondants
123
		 * Action sur selection d'un lieu : affichage de la liste des taxons correspondants
121
		 * TODO : gerer asynchronicite ?
124
		 * TODO : gerer asynchronicite ?
122
		 */
125
		 */
123
		
126
		
124
		public void onLocationSelected(String loc) {
127
		public void onLocationSelected(String loc) {
125
		
128
		
126
			inventoryItemList.setLocation(loc);
129
			inventoryItemList.setLocation(loc);
127
			inventoryItemList.setDate("all");
130
//			inventoryItemList.setDate("all");
128
			inventoryItemList.setStation("all");
131
//			inventoryItemList.setStation("all");
129
			inventoryItemList.updateCount();
132
			inventoryItemList.updateCount();
-
 
133
			
-
 
134
	//		nameAssistant.setValue(null);
130
			
135
 
131
			dateList.setLocation(loc);
136
			dateList.setLocation(loc);
132
			dateList.setDate("all");
137
//			dateList.setDate("all");
133
			dateList.updateCount();
138
			dateList.updateCount();
134
			stationList.setLocation(loc);
139
			stationList.setLocation(loc);
135
			stationList.setStation("all");
140
//			stationList.setStation("all");
136
			stationList.updateCount();
141
			stationList.updateCount();
137
			
142
			
138
		}
143
		}
139
		
144
		
140
		/**
145
		/**
141
		 * Action sur login
146
		 * Action sur login
142
		 * @param user
147
		 * @param user
143
		 */
148
		 */
144
		
149
		
145
		
150
		
146
		public void onLogin(String user) {
151
		public void onLogin(String user) {
147
			
152
			
148
			
153
			
149
			this.user=user;
154
			this.user=user;
150
			topPanel.getSignLabel().setText(user+ " (deconnexion)");
155
			topPanel.getSignLabel().setText(user+ " (deconnexion)");
151
			inventoryItemList.setUser(user);
156
			inventoryItemList.setUser(user);
152
			dateList.setUser(user);
157
			dateList.setUser(user);
153
			stationList.setUser(user);
158
			stationList.setUser(user);
154
			entryPanel.setUser(user);
159
			entryPanel.setUser(user);
155
			locationList.setUser(user);
160
			locationList.setUser(user);
156
			this.onInit();
161
			this.onInit();
157
			
162
			
158
		}
163
		}
159
		
164
		
160
		
165
		
161
		/**
166
		/**
162
		 * Action sur logoff
167
		 * Action sur logoff
163
		 * @param user
168
		 * @param user
164
		 */
169
		 */
165
		
170
		
166
		
171
		
167
		public void onLogoff(String user) {
172
		public void onLogoff(String user) {
168
			
173
			
169
			this.user=user;
174
			this.user=user;
170
			topPanel.getSignLabel().setText("Connexion");
175
			topPanel.getSignLabel().setText("Connexion");
171
			inventoryItemList.setUser(user);
176
			inventoryItemList.setUser(user);
172
			dateList.setUser(user);
177
			dateList.setUser(user);
173
			stationList.setUser(user);
178
			stationList.setUser(user);
174
			entryPanel.setUser(user);
179
			entryPanel.setUser(user);
175
			locationList.setUser(user);
180
			locationList.setUser(user);
176
			this.onInit();
181
			this.onInit();
177
			
182
			
178
		}
183
		}
179
 
184
 
180
		/**
185
		/**
181
		 * Action sur selection d'une station : affichage de la liste des taxons correspondants
186
		 * Action sur selection d'une station : affichage de la liste des taxons correspondants
182
		 */
187
		 */
183
		
188
		
184
		public void onStationSelected(String station) {
189
		public void onStationSelected(String station) {
185
 
190
 
186
			inventoryItemList.setStation(station);
191
			inventoryItemList.setStation(station);
187
			inventoryItemList.updateCount();
192
			inventoryItemList.updateCount();
-
 
193
//			nameAssistant.setValue(null);
-
 
194
 
188
 
195
 
189
		}
196
		}
190
 
197
 
191
 
198
 
192
 
199
 
193
		
200
		
194
		/**
201
		/**
195
		 * Action sur selection d'une date : affichage de la liste des taxons correspondants
202
		 * Action sur selection d'une date : affichage de la liste des taxons correspondants
196
		 */
203
		 */
197
		
204
		
198
		public void onDateSelected(String date) {
205
		public void onDateSelected(String date) {
199
 
206
 
200
			inventoryItemList.setDate(date);
207
			inventoryItemList.setDate(date);
201
			inventoryItemList.updateCount();
208
			inventoryItemList.updateCount();
-
 
209
	//		nameAssistant.setValue(null);
-
 
210
 
202
 
211
 
203
		}
212
		}
-
 
213
 
-
 
214
		/**
-
 
215
		 * Action suivant la complétion d'un nom
-
 
216
		 * 
204
 
217
		 */
-
 
218
 
-
 
219
		public void  onNameCompleted(String value) {
-
 
220
			infoPopup.setImageUrl(value);
205
		
221
		}
206
		
222
		
207
		
223
		
208
		/**
224
		/**
209
		 * Action prealable à l'ajout d'une observation : controle presence champs requis et lancement mise a jour 
225
		 * Action prealable à l'ajout d'une observation : controle presence champs requis et lancement mise a jour 
210
		 * 
226
		 * 
211
		 */
227
		 */
212
		
228
		
213
		public void onAddInventoryItem() {
229
		public void onAddInventoryItem() {
214
		
230
		
215
			// TODO : singleton ?
231
			// TODO : singleton ?
216
			registerInventoryItem(new InventoryItem(nameAssistant.getText(),nameAssistant.getValue(),locationAssistant.getText(),locationAssistant.getValue(),date.getText(),complementLocation.getText(),comment.getText(),"null"));
232
			registerInventoryItem(new InventoryItem(nameAssistant.getText(),nameAssistant.getValue(),locationAssistant.getText(),locationAssistant.getValue(),date.getText(),complementLocation.getText(),comment.getText(),"null"));
217
			inventoryItemList.addelement();
233
			inventoryItemList.addelement();
218
			
234
			
219
		}
235
		}
220
 
236
 
221
		
237
		
222
		/**
238
		/**
223
		 * Action prealable à la modification d'une observation : controle presence champs requis et lancement mise a jour 
239
		 * Action prealable à la modification d'une observation : controle presence champs requis et lancement mise a jour 
224
		 * 
240
		 * 
225
		 */
241
		 */
226
 
242
 
227
		public void onModifyInventoryItem(String ordre) {
243
		public void onModifyInventoryItem(String ordre) {
228
 
244
 
229
		// TODO : singleton ?
245
		// TODO : singleton ?
230
		registerInventoryItem(new InventoryItem(nameAssistant.getText(),nameAssistant.getValue(),locationAssistant.getText(),locationAssistant.getValue(),date.getText(),complementLocation.getText(),comment.getText(),ordre));
246
		registerInventoryItem(new InventoryItem(nameAssistant.getText(),nameAssistant.getValue(),locationAssistant.getText(),locationAssistant.getValue(),date.getText(),complementLocation.getText(),comment.getText(),ordre));
231
		inventoryItemList.updateElement();
247
		inventoryItemList.updateElement();
232
 
248
 
233
		}
249
		}
234
 
250
 
235
		
251
		
236
		public boolean inventoryItemIsValid() {
252
		public boolean inventoryItemIsValid() {
237
			// TODO : controle date
253
			// TODO : controle date
238
			
254
			
239
		    if (inventoryItem.getName().compareTo("")==0) {
255
		    if (inventoryItem.getName().compareTo("")==0) {
240
		    	return false;
256
		    	return false;
241
		    }
257
		    }
242
		    else {
258
		    else {
243
		    	return true;
259
		    	return true;
244
		    }
260
		    }
245
			
261
			
246
		}
262
		}
247
 
263
 
248
		/**
264
		/**
249
		 * Declaration InventoryItem
265
		 * Declaration InventoryItem
250
		 * @param cel
266
		 * @param cel
251
		 */
267
		 */
252
 
268
 
253
		public void registerInventoryItem(InventoryItem inventoryItem) {
269
		public void registerInventoryItem(InventoryItem inventoryItem) {
254
			
270
			
255
			this.inventoryItem=inventoryItem;
271
			this.inventoryItem=inventoryItem;
256
		}
272
		}
257
 
273
 
258
 
274
 
259
		
275
		
260
		
276
		
261
		/**
277
		/**
262
		 * Declaration InventoryItemList 
278
		 * Declaration InventoryItemList 
263
		 * @param inventoryItemList
279
		 * @param inventoryItemList
264
		 */
280
		 */
265
		
281
		
266
		public void registerInventoryItemList(InventoryItemList inventoryItemList) {
282
		public void registerInventoryItemList(InventoryItemList inventoryItemList) {
267
			
283
			
268
			this.inventoryItemList=inventoryItemList;
284
			this.inventoryItemList=inventoryItemList;
269
		
285
		
270
		}
286
		}
271
	
287
	
272
		/**
288
		/**
273
		 * Declaration LocationList
289
		 * Declaration LocationList
274
		 * @param locationList
290
		 * @param locationList
275
		 */
291
		 */
276
		
292
		
277
		public void registerLocationList(LocationList locationList) {
293
		public void registerLocationList(LocationList locationList) {
278
			
294
			
279
			this.locationList=locationList;
295
			this.locationList=locationList;
280
		}
296
		}
281
	
297
	
282
		
298
		
283
		
299
		
284
		/**
300
		/**
285
		 * Declaration DateList
301
		 * Declaration DateList
286
		 * @param locationList
302
		 * @param locationList
287
		 */
303
		 */
288
		
304
		
289
		public void registerDateList(DateList dateList) {
305
		public void registerDateList(DateList dateList) {
290
			
306
			
291
			this.dateList=dateList;
307
			this.dateList=dateList;
292
		}
308
		}
293
 
309
 
294
		
310
		
295
		/**
311
		/**
-
 
312
		 * Declaration InfoPopup
-
 
313
		 * @param infoPopup
-
 
314
		 */
-
 
315
		
-
 
316
		public void registerInfoPopup(InfoPopup infoPopup) {
-
 
317
			
-
 
318
			this.infoPopup=infoPopup;
-
 
319
		}
-
 
320
 
-
 
321
 
-
 
322
		
-
 
323
		/**
296
		 * Declaration StationList
324
		 * Declaration StationList
297
		 * @param locationList
325
		 * @param locationList
298
		 */
326
		 */
299
		
327
		
300
		public void registerStationList(StationList stationList) {
328
		public void registerStationList(StationList stationList) {
301
			
329
			
302
			this.stationList=stationList;
330
			this.stationList=stationList;
303
		}
331
		}
304
 
332
 
305
		
333
		
306
		
334
		
307
		/**
335
		/**
308
		 * Declaration Cel
336
		 * Declaration Cel
309
		 * @param cel
337
		 * @param cel
310
		 */
338
		 */
311
 
339
 
312
		public void registerCel(Cel cel) {
340
		public void registerCel(Cel cel) {
313
			
341
			
314
			this.cel=cel;
342
			this.cel=cel;
315
		}
343
		}
316
 
344
 
317
		
345
		
318
		/**
346
		/**
319
		 * Declaration NameAssistant 
347
		 * Declaration NameAssistant 
320
		 * @param nameassistant
348
		 * @param nameassistant
321
		 */
349
		 */
322
		
350
		
323
		public void registerNameAssistant(NameAssistant nameAssistant) {
351
		public void registerNameAssistant(NameAssistant nameAssistant) {
324
			this.nameAssistant=nameAssistant;
352
			this.nameAssistant=nameAssistant;
325
			
353
			
326
		}
354
		}
327
		
355
		
328
		/**
356
		/**
329
		 * Declaration LocationAssistant 
357
		 * Declaration LocationAssistant 
330
		 * @param locationassistant
358
		 * @param locationassistant
331
		 */
359
		 */
332
		
360
		
333
		public void registerLocationAssistant(LocationAssistant locationAssistant) {
361
		public void registerLocationAssistant(LocationAssistant locationAssistant) {
334
			this.locationAssistant=locationAssistant;
362
			this.locationAssistant=locationAssistant;
335
			
363
			
336
		}
364
		}
337
 
365
 
338
		
366
		
339
		
367
		
340
		/**
368
		/**
341
		 * Declaration date
369
		 * Declaration date
342
		 * @param date
370
		 * @param date
343
		 */
371
		 */
344
		
372
		
345
		public void registerDate(TextBox date) {
373
		public void registerDate(TextBox date) {
346
			this.date=date;
374
			this.date=date;
347
			
375
			
348
		}
376
		}
349
	
377
	
350
		
378
		
351
		
379
		
352
		/**
380
		/**
353
		 * Declaration complementLocation
381
		 * Declaration complementLocation
354
		 * @param complementLocation
382
		 * @param complementLocation
355
		 */
383
		 */
356
		
384
		
357
		public void registerComplementLocation(TextBox complementLocation) {
385
		public void registerComplementLocation(TextBox complementLocation) {
358
			this.complementLocation=complementLocation;
386
			this.complementLocation=complementLocation;
359
			
387
			
360
		}
388
		}
361
		
389
		
362
		
390
		
363
	    public void  registerEntryPanel(EntryPanel entryPanel) {
391
	    public void  registerEntryPanel(EntryPanel entryPanel) {
364
	    	this.entryPanel=entryPanel;
392
	    	this.entryPanel=entryPanel;
365
		}
393
		}
366
 
394
 
-
 
395
	    
-
 
396
	    public void  registerActionPanel(ActionPanel actionPanel) {
-
 
397
	    	this.actionPanel=actionPanel;
367
	    
398
		}
-
 
399
 
368
		
400
	    
369
 
401
 
370
	    public void  registerTopPanel(TopPanel topPanel) {
402
	    public void  registerTopPanel(TopPanel topPanel) {
371
	    	this.topPanel=topPanel;
403
	    	this.topPanel=topPanel;
372
		}
404
		}
373
 
405
 
374
	    
406
	    
375
	    
407
	    
376
		/**
408
		/**
377
		 * Declaration commentaire 
409
		 * Declaration commentaire 
378
		 * @param commentaire
410
		 * @param commentaire
379
		 */
411
		 */
380
		
412
		
381
		public void registerComment(TextBox comment) {
413
		public void registerComment(TextBox comment) {
382
			this.comment=comment;
414
			this.comment=comment;
383
			
415
			
384
		}
416
		}
385
		
417
		
-
 
418
 
-
 
419
		/* Panneau gauche 
-
 
420
		 * 
-
 
421
		 */
-
 
422
		
-
 
423
		public void registerLeftPanel(LeftPanel leftPanel) {
-
 
424
			this.leftPanel=leftPanel;
-
 
425
			
-
 
426
		}
-
 
427
		
386
 
428
		
387
		
429
		
388
 
430
 
389
		/**
431
		/**
390
		 * Recherche distante et asynchrone de l'utilisateur connecté, en retour lancement methode initialisation
432
		 * Recherche distante et asynchrone de l'utilisateur connecté, en retour lancement methode initialisation
391
		 * de l'appellant Cel. (initAsync)
433
		 * de l'appellant Cel. (initAsync)
392
		 * 
434
		 * 
393
		 */
435
		 */
394
		
436
		
395
		private void getUserFromService() {
437
		private void getUserFromService() {
396
 
438
 
397
 
439
 
398
			HTTPRequest.asyncGet(serviceBaseUrl + "/User/",
440
			HTTPRequest.asyncGet(serviceBaseUrl + "/User/",
399
					new ResponseTextHandler() {
441
					new ResponseTextHandler() {
400
 
442
 
401
						public void onCompletion(String str) {
443
						public void onCompletion(String str) {
402
							JSONValue jsonValue = JSONParser.parse(str);
444
							JSONValue jsonValue = JSONParser.parse(str);
403
							JSONArray jsonArray;
445
							JSONArray jsonArray;
404
							if ((jsonArray = jsonValue.isArray()) != null) {
446
							if ((jsonArray = jsonValue.isArray()) != null) {
405
									user = ((JSONString) jsonArray.get(0)).stringValue();
447
									user = ((JSONString) jsonArray.get(0)).stringValue();
406
									connected = ((JSONBoolean) jsonArray.get(1)).booleanValue();
448
									connected = ((JSONBoolean) jsonArray.get(1)).booleanValue();
407
							}
449
							}
408
							cel.initAsync();
450
							cel.initAsync();
409
						}
451
						}
410
					});
452
					});
411
 
453
 
412
		}
454
		}
413
	
455
	
414
		/**
456
		/**
415
		 * Accesseur Url de base
457
		 * Accesseur Url de base
416
		 * @return Url de base
458
		 * @return Url de base
417
		 */
459
		 */
418
		
460
		
419
		public String getServiceBaseUrl() {
461
		public String getServiceBaseUrl() {
420
			
462
			
421
			return serviceBaseUrl;
463
			return serviceBaseUrl;
422
 
464
 
423
		}
465
		}
424
 
466
 
425
		
467
		
426
		/**
468
		/**
427
		 * Recuperation du prefixe d'appel des services
469
		 * Recuperation du prefixe d'appel des services
428
		 * @return prefix appel des service
470
		 * @return prefix appel des service
429
		 */
471
		 */
430
 
472
 
431
		private String getServiceBaseUrlFromDictionnary() {
473
		private String getServiceBaseUrlFromDictionnary() {
432
 
474
 
433
			Dictionary theme = Dictionary.getDictionary("Parameters");
475
			Dictionary theme = Dictionary.getDictionary("Parameters");
434
			return theme.get("serviceBaseUrl");
476
			return theme.get("serviceBaseUrl");
435
 
477
 
436
		}
478
		}
437
 
479
 
438
 
480
 
439
		/**
481
		/**
440
		 *  Accesseur Utilisateur
482
		 *  Accesseur Utilisateur
441
		 * @return utilisateur connecté ou identifiant de session
483
		 * @return utilisateur connecté ou identifiant de session
442
		 */
484
		 */
443
		
485
		
444
		public String getUser() {
486
		public String getUser() {
445
			return user;
487
			return user;
446
		}
488
		}
447
 
489
 
448
		
490
		
449
 
491
 
450
		public void setUser(String user) {
492
		public void setUser(String user) {
451
			this.user=user;
493
			this.user=user;
452
		}
494
		}
453
 
495
 
454
 
496
 
455
		
497
		
456
		public InventoryItemList getInventoryItemList() {
498
		public InventoryItemList getInventoryItemList() {
457
			return inventoryItemList;
499
			return inventoryItemList;
458
		}
500
		}
459
 
501
 
460
		public LocationList getLocationList() {
502
		public LocationList getLocationList() {
461
			return locationList;
503
			return locationList;
462
		}
504
		}
463
 
505
 
464
		public DateList getDateList() {
506
		public DateList getDateList() {
465
			return dateList;
507
			return dateList;
466
		}
508
		}
467
 
509
 
468
		
510
		
469
		public NameAssistant getNameAssistant() {
511
		public NameAssistant getNameAssistant() {
470
			return nameAssistant;
512
			return nameAssistant;
471
		}
513
		}
472
 
514
 
473
		public LocationAssistant getLocationAssistant() {
515
		public LocationAssistant getLocationAssistant() {
474
			return locationAssistant;
516
			return locationAssistant;
475
		}
517
		}
476
 
518
 
477
		public InventoryItem getInventoryItem() {
519
		public InventoryItem getInventoryItem() {
478
			return inventoryItem;
520
			return inventoryItem;
479
		}
521
		}
480
 
522
 
481
		public EntryPanel getEntryPanel() {
523
		public EntryPanel getEntryPanel() {
482
			return entryPanel;
524
			return entryPanel;
483
		}
525
		}
484
 
526
 
-
 
527
 
-
 
528
		public LeftPanel getLeftPanel() {
-
 
529
			return leftPanel;
-
 
530
		}
-
 
531
 
-
 
532
		public InfoPopup getInfoPopup() {
-
 
533
			return infoPopup;
-
 
534
		}
485
 
535
 
486
		public void setConnected(boolean connected) {
536
		public void setConnected(boolean connected) {
487
		
537
		
488
			this.connected=connected;
538
			this.connected=connected;
489
		}
539
		}
490
		
540
		
491
		public boolean getConnected() {
541
		public boolean getConnected() {
492
			
542
			
493
			return this.connected;
543
			return this.connected;
494
		}
544
		}
-
 
545
 
-
 
546
		
-
 
547
		public ActionPanel getActionPanel() {
-
 
548
			
-
 
549
			return this.actionPanel;
495
 
550
		}
496
 
551
 
497
	}
552
	}