Subversion Repositories eFlore/Archives.cel-v1

Rev

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

Rev 24 Rev 25
Line 25... Line 25...
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;
Line 31... Line 34...
31
		
34
		
32
		private TextBox date = null; 
35
		private TextBox date = null; 
33
		private TextBox complementLocation = null; 
36
		private TextBox complementLocation = null; 
Line 122... Line 125...
122
		 */
125
		 */
Line 123... Line 126...
123
		
126
		
Line 124... Line 127...
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");
Line -... Line 131...
-
 
131
//			inventoryItemList.setStation("all");
-
 
132
			inventoryItemList.updateCount();
128
			inventoryItemList.setStation("all");
133
			
129
			inventoryItemList.updateCount();
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();
Line 134... Line 139...
134
			stationList.setLocation(loc);
139
			stationList.setLocation(loc);
Line 135... Line 140...
135
			stationList.setStation("all");
140
//			stationList.setStation("all");
Line 183... Line 188...
183
		
188
		
Line 184... Line 189...
184
		public void onStationSelected(String station) {
189
		public void onStationSelected(String station) {
185
 
190
 
-
 
191
			inventoryItemList.setStation(station);
-
 
192
			inventoryItemList.updateCount();
Line 186... Line 193...
186
			inventoryItemList.setStation(station);
193
//			nameAssistant.setValue(null);
Line 197... Line 204...
197
		
204
		
Line 198... Line 205...
198
		public void onDateSelected(String date) {
205
		public void onDateSelected(String date) {
199
 
206
 
-
 
207
			inventoryItemList.setDate(date);
-
 
208
			inventoryItemList.updateCount();
Line 200... Line 209...
200
			inventoryItemList.setDate(date);
209
	//		nameAssistant.setValue(null);
Line -... Line 210...
-
 
210
 
-
 
211
 
-
 
212
		}
-
 
213
 
201
			inventoryItemList.updateCount();
214
		/**
-
 
215
		 * Action suivant la complétion d'un nom
-
 
216
		 * 
-
 
217
		 */
Line 202... Line 218...
202
 
218
 
203
		}
219
		public void  onNameCompleted(String value) {
204
 
220
			infoPopup.setImageUrl(value);
Line 291... Line 307...
291
			this.dateList=dateList;
307
			this.dateList=dateList;
292
		}
308
		}
Line 293... Line 309...
293
 
309
 
-
 
310
		
-
 
311
		/**
-
 
312
		 * Declaration InfoPopup
-
 
313
		 * @param infoPopup
-
 
314
		 */
-
 
315
		
-
 
316
		public void registerInfoPopup(InfoPopup infoPopup) {
-
 
317
			
-
 
318
			this.infoPopup=infoPopup;
-
 
319
		}
-
 
320
 
-
 
321
 
294
		
322
		
295
		/**
323
		/**
296
		 * Declaration StationList
324
		 * Declaration StationList
Line 297... Line 325...
297
		 * @param locationList
325
		 * @param locationList
Line 363... Line 391...
363
	    public void  registerEntryPanel(EntryPanel entryPanel) {
391
	    public void  registerEntryPanel(EntryPanel entryPanel) {
364
	    	this.entryPanel=entryPanel;
392
	    	this.entryPanel=entryPanel;
365
		}
393
		}
Line -... Line 394...
-
 
394
 
-
 
395
	    
-
 
396
	    public void  registerActionPanel(ActionPanel actionPanel) {
366
 
397
	    	this.actionPanel=actionPanel;
-
 
398
		}
Line 367... Line 399...
367
	    
399
 
368
		
400
	    
369
 
401
 
Line 382... Line 414...
382
			this.comment=comment;
414
			this.comment=comment;
Line 383... Line 415...
383
			
415
			
Line -... Line 416...
-
 
416
		}
-
 
417
		
-
 
418
 
-
 
419
		/* Panneau gauche 
-
 
420
		 * 
-
 
421
		 */
-
 
422
		
-
 
423
		public void registerLeftPanel(LeftPanel leftPanel) {
-
 
424
			this.leftPanel=leftPanel;
-
 
425
			
Line 384... Line 426...
384
		}
426
		}
385
		
427
		
386
 
428
		
Line 481... Line 523...
481
		public EntryPanel getEntryPanel() {
523
		public EntryPanel getEntryPanel() {
482
			return entryPanel;
524
			return entryPanel;
483
		}
525
		}
Line -... Line 526...
-
 
526
 
-
 
527
 
-
 
528
		public LeftPanel getLeftPanel() {
-
 
529
			return leftPanel;
-
 
530
		}
-
 
531
 
-
 
532
		public InfoPopup getInfoPopup() {
-
 
533
			return infoPopup;
484
 
534
		}
Line 485... Line 535...
485
 
535
 
486
		public void setConnected(boolean connected) {
536
		public void setConnected(boolean connected) {
Line 487... Line 537...
487
		
537
		
Line 488... Line 538...
488
			this.connected=connected;
538
			this.connected=connected;
489
		}
539
		}
Line -... Line 540...
-
 
540
		
-
 
541
		public boolean getConnected() {
-
 
542
			
-
 
543
			return this.connected;
-
 
544
		}
Line 490... Line 545...
490
		
545