/trunk/src/org/tela_botanica/del/client/vues/rechercheobservations/resultats/ResultatsRechercheObservationsVue.ui.xml |
---|
9,11 → 9,6 |
<g:HTMLPanel> |
<g:HTMLPanel styleName="{style.zoneTri}"> |
<g:HTMLPanel ui:field="triParNbVotes" styleName="gauche"> |
<g:Label text="{constants.triParNbVotes}" styleName="gauche"/> |
<g:Button title="{constants.triParNbVotesAscendant}" ui:field="triParNbVotesAscendant" styleName="{style.boutonTriAsc} gauche" /> |
<g:Button title="{constants.triParNbVotesDescendant}" ui:field="triParNbVotesDescendant" styleName="{style.boutonTriDesc} gauche" /> |
</g:HTMLPanel> |
<g:HTMLPanel ui:field="triParDate" styleName="gauche"> |
<g:Label text="{constants.triParDate}" styleName="gauche"/> |
<g:Button title="{constants.triParDateAscendant}" ui:field="triParDateAscendant" styleName="{style.boutonTriAsc} gauche" /> |
/trunk/src/org/tela_botanica/del/client/vues/rechercheobservations/resultats/ResultatsRechercheObservationsPresenteur.java |
---|
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 |
/trunk/src/org/tela_botanica/del/client/vues/rechercheobservations/resultats/ResultatsRechercheObservationsVue.java |
---|
24,7 → 24,7 |
Panel zoneObservations, zonePaginationHaut, zonePaginationBas; |
@UiField |
Button triParNbVotesAscendant, triParNbVotesDescendant, triParDateAscendant, triParDateDescendant; |
Button triParDateAscendant, triParDateDescendant; |
// Constructeur de la vue |
public ResultatsRechercheObservationsVue() { |
65,14 → 65,6 |
panneauChargement.setVisible(false); |
} |
public Button getTriParNbVotesAscendant() { |
return triParNbVotesAscendant; |
} |
public Button getTriParNbVotesDescendant() { |
return triParNbVotesDescendant; |
} |
public Button getTriParDateAscendant() { |
return triParDateAscendant; |
} |