Subversion Repositories eFlore/Archives.cel-v1

Compare Revisions

Ignore whitespace Rev 24 → Rev 25

/trunk/src/org/tela_botanica/client/EntryPanel.java
86,17 → 86,22
private Button dateSelector = new Button("...");
boolean visible=false;
private Mediator mediator=null;
 
private String user= null;
private String ordre =null;
private CalendarWidget calendar = null; // Lazy instantiation
private PopupPanel choicesPopup = null; // Lazy instantiation
 
public EntryPanel(final Mediator med) {
Grid inner = new Grid(3,4);
 
mediator=med;
user=mediator.getUser();
 
113,7 → 118,6
outer.add(new HTML("<b>Saisir&nbsp;un&nbsp;relev&eacute;&nbsp;:</b>"));
 
Grid inner = new Grid(3,4);
 
for (int i=0; i<3;i++) {
inner.getCellFormatter().setWidth(i, 0, "3%");
120,9 → 124,11
inner.getCellFormatter().setWidth(i, 1, "47%");
inner.getCellFormatter().setWidth(i, 2, "3%");
inner.getCellFormatter().setWidth(i, 3, "47%");
}
}
 
 
 
nameAssistant = new NameAssistant(mediator);
locationAssistant = new LocationAssistant(mediator);
 
277,7 → 283,7
}
);
 
Button validButton = new Button("Valider");
351,7 → 357,6
 
}
 
initWidget(outer);
406,7 → 411,8
String ann=((JSONString) jsonArray .get(3)).stringValue();
if (ann.compareTo("0")!=0) {
nameAssistant.setValue(null);
nameAssistant.setValue(ann);
mediator.getInfoPopup().setImageUrl(ann);
}
else {
nameAssistant.setValue(null);
464,11 → 470,15
public void setUser(String user) {
this.user = user;
}
 
}
 
/* +--Fin du code ---------------------------------------------------------------------------------------+
* $Log$
* Revision 1.5 2007-05-22 14:27:08 ddelon
* reglage modification
*
* Revision 1.4 2007-05-21 21:01:35 ddelon
* Modification comportement boutons
*