Subversion Repositories eFlore/Archives.cel-v1

Rev

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

Rev 24 Rev 25
Line 84... Line 84...
84
  private TextBox complementLocation = new TextBox();
84
  private TextBox complementLocation = new TextBox();
85
  private TextBox comment = new TextBox();
85
  private TextBox comment = new TextBox();
86
  private Button dateSelector = new Button("...");
86
  private Button dateSelector = new Button("...");
87
  boolean visible=false;
87
  boolean visible=false;
88
  private Mediator mediator=null;
88
  private Mediator mediator=null;
89
 
89
  
Line 90... Line 90...
90
  
90
  
91
  private String user= null;
91
  private String user= null;
Line 92... Line 92...
92
  private String ordre =null;
92
  private String ordre =null;
93
  
93
  
-
 
94
  private CalendarWidget calendar = null; // Lazy instantiation
Line 94... Line 95...
94
  private CalendarWidget calendar = null; // Lazy instantiation
95
  private PopupPanel choicesPopup = null; // Lazy instantiation
Line -... Line 96...
-
 
96
  
-
 
97
 
-
 
98
  public EntryPanel(final Mediator med) {
-
 
99
	 
95
  private PopupPanel choicesPopup = null; // Lazy instantiation
100
	  
96
 
101
	  Grid inner = new Grid(3,4);
Line 97... Line 102...
97
  public EntryPanel(final Mediator med) {
102
 
Line 111... Line 116...
111
   
116
   
Line 112... Line -...
112
 
-
 
Line 113... Line 117...
113
   outer.add(new HTML("<b>Saisir&nbsp;un&nbsp;relev&eacute;&nbsp;:</b>"));
117
 
114
 
118
   outer.add(new HTML("<b>Saisir&nbsp;un&nbsp;relev&eacute;&nbsp;:</b>"));
115
   
119
 
116
   Grid inner = new Grid(3,4);
120
   
117
 
121
 
118
   for (int i=0; i<3;i++) {
122
   for (int i=0; i<3;i++) {
Line -... Line 123...
-
 
123
	inner.getCellFormatter().setWidth(i, 0, "3%");
-
 
124
	inner.getCellFormatter().setWidth(i, 1, "47%");
119
	inner.getCellFormatter().setWidth(i, 0, "3%");
125
	inner.getCellFormatter().setWidth(i, 2, "3%");
120
	inner.getCellFormatter().setWidth(i, 1, "47%");
126
	inner.getCellFormatter().setWidth(i, 3, "47%");
Line 121... Line 127...
121
	inner.getCellFormatter().setWidth(i, 2, "3%");
127
   }  
Line 275... Line 281...
275
		  public void onKeyUp(Widget arg0, char arg1, int arg2) { }
281
		  public void onKeyUp(Widget arg0, char arg1, int arg2) { }
276
		  public void onKeyPress(Widget arg0, char arg1, int arg2) { }
282
		  public void onKeyPress(Widget arg0, char arg1, int arg2) { }
Line 277... Line 283...
277
		  
283
		  
278
		  }
284
		  }
279
  );
285
  );
Line 280... Line 286...
280
 
286
    
Line 281... Line 287...
281
   
287
   
Line 349... Line 355...
349
 
355
 
Line 350... Line 356...
350
				});
356
				});
351
 
-
 
Line 352... Line 357...
352
    	
357
 
Line 404... Line 409...
404
							// Numero nomenclatural
409
							// Numero nomenclatural
Line 405... Line 410...
405
						
410
						
Line 406... Line 411...
406
							String ann=((JSONString) jsonArray .get(3)).stringValue();
411
							String ann=((JSONString) jsonArray .get(3)).stringValue();
407
							
412
							
-
 
413
							if (ann.compareTo("0")!=0) {
408
							if (ann.compareTo("0")!=0) {
414
								nameAssistant.setValue(ann);
409
								nameAssistant.setValue(null);
415
								mediator.getInfoPopup().setImageUrl(ann);
410
							}
416
							}
411
							else {
417
							else {
Line 462... Line 468...
462
	}
468
	}
Line 463... Line 469...
463
 
469
 
464
	public void setUser(String user) {
470
	public void setUser(String user) {
465
		this.user = user;
471
		this.user = user;
-
 
472
	}
Line 466... Line 473...
466
	}
473
	
Line 467... Line 474...
467
 
474
 
468
}
475
}
-
 
476
 
-
 
477
/* +--Fin du code ---------------------------------------------------------------------------------------+
-
 
478
* $Log$
469
 
479
* Revision 1.5  2007-05-22 14:27:08  ddelon
470
/* +--Fin du code ---------------------------------------------------------------------------------------+
480
* reglage modification
471
* $Log$
481
*
472
* Revision 1.4  2007-05-21 21:01:35  ddelon
482
* Revision 1.4  2007-05-21 21:01:35  ddelon
473
* Modification comportement boutons
483
* Modification comportement boutons