Subversion Repositories eFlore/Archives.cel-v1

Rev

Rev 29 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 29 Rev 30
Line 57... Line 57...
57
		private NameAssistant nameAssistant=null; //  Assistant de saisie nom scientifique
57
		private NameAssistant nameAssistant=null; //  Assistant de saisie nom scientifique
58
		private LocationAssistant locationAssistant=null; // Assistant de saisie nom de commune
58
		private LocationAssistant locationAssistant=null; // Assistant de saisie nom de commune
Line 59... Line 59...
59
		
59
		
60
		private TextBox date = null; // date observation 
60
		private TextBox date = null; // date observation 
-
 
61
		private TextBox station = null;  // station observation
61
		private TextBox station = null;  // station observation
62
		private TextBox milieu = null;  // milieu observation
62
		private TextBox lieudit = null;  // lieu dit observation
63
		private TextBox lieudit = null;  // lieu dit observation
63
		private TextBox comment = null; // commentaire observation
64
		private TextBox comment = null; // commentaire observation
Line 260... Line 261...
260
			// Lazy instantiation
261
			// Lazy instantiation
261
			if (inventoryItem==null) {
262
			if (inventoryItem==null) {
262
				inventoryItem=new InventoryItem(this);
263
				inventoryItem=new InventoryItem(this);
263
			}
264
			}
Line 264... Line 265...
264
			
265
			
265
			inventoryItem.setContent(nameAssistant.getText(),nameAssistant.getValue(),locationAssistant.getText(),locationAssistant.getValue(),date.getText(),lieudit.getText(),station.getText(),comment.getText(),"null");
266
			inventoryItem.setContent(nameAssistant.getText(),nameAssistant.getValue(),locationAssistant.getText(),locationAssistant.getValue(),date.getText(),lieudit.getText(),station.getText(), milieu.getText(), comment.getText(),"null");
Line 266... Line 267...
266
			inventoryItem.addelement();
267
			inventoryItem.addelement();
Line 279... Line 280...
279
		// Lazy instantiation
280
		// Lazy instantiation
280
		if (inventoryItem==null) {
281
		if (inventoryItem==null) {
281
			inventoryItem=new InventoryItem(this);
282
			inventoryItem=new InventoryItem(this);
282
		}
283
		}
Line 283... Line 284...
283
 
284
 
284
		inventoryItem.setContent(nameAssistant.getText(),nameAssistant.getValue(),locationAssistant.getText(),locationAssistant.getValue(),date.getText(),lieudit.getText(),station.getText(),comment.getText(),ordre);
285
		inventoryItem.setContent(nameAssistant.getText(),nameAssistant.getValue(),locationAssistant.getText(),locationAssistant.getValue(),date.getText(),lieudit.getText(),station.getText(), milieu.getText(), comment.getText(),ordre);
Line 285... Line 286...
285
		inventoryItem.updateElement();
286
		inventoryItem.updateElement();
Line 519... Line 520...
519
			this.station=station;
520
			this.station=station;
Line 520... Line 521...
520
			
521
			
Line 521... Line 522...
521
		}
522
		}
-
 
523
		
-
 
524
		/**
-
 
525
		 * Declaration milieu : milieu d'observation
-
 
526
		 * 
-
 
527
		 * @param milieu
-
 
528
		 */
-
 
529
		
-
 
530
		public void registerMilieu(TextBox milieu) {
-
 
531
			this.milieu=milieu;
-
 
532
			
-
 
533
		}
522
		
534
		
523
		/**
535
		/**
524
		 * Declaration commentaire b 
536
		 * Declaration commentaire b 
Line 525... Line 537...
525
		 * @param commentaire
537
		 * @param commentaire
Line 642... Line 654...
642
 
654
 
643
		public InventoryItem getInventoryItem() {
655
		public InventoryItem getInventoryItem() {
644
			return inventoryItem;
656
			return inventoryItem;
Line 645... Line 657...
645
		}
657
		}
646
 
658
 
647
		public EntryView entryView() {
659
		public EntryView getEntryView() {
Line 648... Line 660...
648
			return entryView;
660
			return entryView;