Subversion Repositories eFlore/Archives.cel-v1

Compare Revisions

Ignore whitespace Rev 25 → Rev 24

/trunk/src/org/tela_botanica/client/EntryPanel.java
86,22 → 86,17
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();
 
118,6 → 113,7
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%");
124,11 → 120,9
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);
 
283,7 → 277,7
}
);
 
Button validButton = new Button("Valider");
357,6 → 351,7
 
}
 
initWidget(outer);
411,8 → 406,7
String ann=((JSONString) jsonArray .get(3)).stringValue();
if (ann.compareTo("0")!=0) {
nameAssistant.setValue(ann);
mediator.getInfoPopup().setImageUrl(ann);
nameAssistant.setValue(null);
}
else {
nameAssistant.setValue(null);
470,15 → 464,11
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
*