Subversion Repositories eFlore/Applications.coel

Compare Revisions

Ignore 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,9 → 85,9
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));
//}
}
}