Subversion Repositories eFlore/Applications.coel

Compare Revisions

Ignore whitespace Rev 1630 → Rev 1633

/trunk/src/org/tela_botanica/client/vues/commentaire/CommentaireListeVue.java
7,6 → 7,7
 
import org.tela_botanica.client.Mediateur;
import org.tela_botanica.client.RegistreId;
import org.tela_botanica.client.composants.ChampFiltreRecherche;
import org.tela_botanica.client.composants.InfoLogger;
import org.tela_botanica.client.i18n.Constantes;
import org.tela_botanica.client.images.Images;
68,6 → 69,7
private Button supprimer;
private BarrePaginationVue pagination = null;
private ChampFiltreRecherche champFiltreRecherche = null;
private CommentaireListe commentaires = null;
protected boolean commentairesChargementOk = false;
177,8 → 179,10
});
add(grille);
CommentaireListe commentaireListe = new CommentaireListe();
champFiltreRecherche = new ChampFiltreRecherche(mediateur, toolBar, commentaireListe);
// Définition de la barre de pagination
pagination = new BarrePaginationVue(new StructureListe(), mediateur);
pagination = new BarrePaginationVue(commentaireListe, mediateur);
setBottomComponent(pagination);
}
260,6 → 264,8
if (nouvellesDonnees instanceof CommentaireListe) {
commentaires = (CommentaireListe) nouvellesDonnees;
champFiltreRecherche.setListePaginable(commentaires);
pagination.setlistePaginable(commentaires);
pagination.rafraichir(commentaires.getPageTable());