5,9 → 5,7 |
import org.tela_botanica.del.client.cache.CacheClient; |
import org.tela_botanica.del.client.composants.moteurrecherche.MoteurRecherchePresenteur; |
import org.tela_botanica.del.client.composants.moteurrecherche.MoteurRechercheVue; |
import org.tela_botanica.del.client.modeles.InformationsRecherche; |
import org.tela_botanica.del.client.modeles.ModeRecherche; |
import org.tela_botanica.del.client.modeles.ModeTri; |
import org.tela_botanica.del.client.modeles.Protocole; |
import org.tela_botanica.del.client.navigation.evenement.BusEvenementiel; |
import org.tela_botanica.del.client.navigation.evenement.changementprotocole.EvenementChangementProtocole; |
19,10 → 17,7 |
|
import com.google.gwt.event.dom.client.ChangeEvent; |
import com.google.gwt.event.dom.client.ChangeHandler; |
import com.google.gwt.event.dom.client.ClickEvent; |
import com.google.gwt.event.dom.client.ClickHandler; |
import com.google.gwt.event.dom.client.HasChangeHandlers; |
import com.google.gwt.event.dom.client.HasClickHandlers; |
import com.google.gwt.user.client.ui.HasWidgets; |
import com.google.gwt.user.client.ui.IsWidget; |
|
46,13 → 41,6 |
|
public void ajouterVue(HasWidgets composite); |
|
public HasClickHandlers getTriParNbVotesAscendant(); |
|
public HasClickHandlers getTriParNbVotesDescendant(); |
|
public HasClickHandlers getTriParDateAscendant(); |
|
public HasClickHandlers getTriParDateDescendant(); |
} |
|
private Vue vue; |
98,45 → 86,6 |
} |
}); |
|
vue.getTriParNbVotesAscendant().addClickHandler(new ClickHandler() { |
|
@Override |
public void onClick(ClickEvent arg0) { |
InformationsRecherche informationsRechercheImages = CacheClient.getInstance().getInformationsRechercheImage(); |
informationsRechercheImages.setTriParNbVotes(ModeTri.TRI_ASCENDANT); |
chercherImages(); |
} |
}); |
|
vue.getTriParNbVotesDescendant().addClickHandler(new ClickHandler() { |
|
@Override |
public void onClick(ClickEvent arg0) { |
InformationsRecherche informationsRechercheImages = CacheClient.getInstance().getInformationsRechercheImage(); |
informationsRechercheImages.setTriParNbVotes(ModeTri.TRI_DESCENDANT); |
chercherImages(); |
} |
}); |
|
vue.getTriParDateAscendant().addClickHandler(new ClickHandler() { |
|
@Override |
public void onClick(ClickEvent arg0) { |
InformationsRecherche informationsRechercheImages = CacheClient.getInstance().getInformationsRechercheImage(); |
informationsRechercheImages.setTriParDate(ModeTri.TRI_ASCENDANT); |
chercherImages(); |
} |
}); |
|
vue.getTriParDateDescendant().addClickHandler(new ClickHandler() { |
|
@Override |
public void onClick(ClickEvent arg0) { |
InformationsRecherche informationsRechercheImages = CacheClient.getInstance().getInformationsRechercheImage(); |
informationsRechercheImages.setTriParDate(ModeTri.TRI_DESCENDANT); |
chercherImages(); |
} |
}); |
} |
|
public void surChangementProtocole() { |