37,10 → 37,6 |
|
public void nettoyer(); |
|
public HasClickHandlers getTriParNbVotesAscendant(); |
|
public HasClickHandlers getTriParNbVotesDescendant(); |
|
public HasClickHandlers getTriParDateAscendant(); |
|
public HasClickHandlers getTriParDateDescendant(); |
61,28 → 57,6 |
|
protected void gererEvenements() { |
|
vue.getTriParNbVotesAscendant().addClickHandler(new ClickHandler() { |
|
@Override |
public void onClick(ClickEvent arg0) { |
InformationsRecherche informationsRechercheObservations = CacheClient.getInstance().getInformationsRechercheObservation(); |
informationsRechercheObservations.setTriParNbVotes(ModeTri.TRI_ASCENDANT); |
informationsRechercheObservations.setTriParDate(ModeTri.PAS_DE_TRI); |
chercherEtAfficherObservationsPageEnCours(); |
} |
}); |
|
vue.getTriParNbVotesDescendant().addClickHandler(new ClickHandler() { |
|
@Override |
public void onClick(ClickEvent arg0) { |
InformationsRecherche informationsRechercheObservations = CacheClient.getInstance().getInformationsRechercheObservation(); |
informationsRechercheObservations.setTriParNbVotes(ModeTri.TRI_DESCENDANT); |
informationsRechercheObservations.setTriParDate(ModeTri.PAS_DE_TRI); |
chercherEtAfficherObservationsPageEnCours(); |
} |
}); |
|
vue.getTriParDateAscendant().addClickHandler(new ClickHandler() { |
|
@Override |