Subversion Repositories eFlore/Applications.coel

Compare Revisions

Regard whitespace Rev 1205 → Rev 1206

/branches/v1.0-syrah/src/org/tela_botanica/client/vues/FenetreJournal.java
36,7 → 36,7
 
private int id = 0;
private EditorGrid<Valeur> grille;
private int nbLogs = Integer.valueOf(((Dictionary) Dictionary.getDictionary("configuration")).get("nbLogs"));
//private int nbLogs = Integer.valueOf(((Dictionary) Dictionary.getDictionary("configuration")).get("nbLogs"));
private ListStore<Valeur> store;
public FenetreJournal(Mediateur mediateur) {
85,11 → 85,11
v.set("heure", getDate());
store.add(v);
if (store.getModels().size() > nbLogs) {
store.remove(store.getAt(nbLogs));
//if (store.getModels().size() > nbLogs) {
//store.remove(store.getAt(nbLogs));
//}
}
}
}
public String getDate() {
Date date = new Date();