| Line 3... |
Line 3... |
| 3 |
import java.util.List;
|
3 |
import java.util.List;
|
| Line 4... |
Line 4... |
| 4 |
|
4 |
|
| 5 |
import org.tela_botanica.del.client.cache.CacheClient;
|
5 |
import org.tela_botanica.del.client.cache.CacheClient;
|
| 6 |
import org.tela_botanica.del.client.composants.moteurrecherche.MoteurRecherchePresenteur;
|
6 |
import org.tela_botanica.del.client.composants.moteurrecherche.MoteurRecherchePresenteur;
|
| 7 |
import org.tela_botanica.del.client.composants.moteurrecherche.MoteurRechercheVue;
|
- |
|
| 8 |
import org.tela_botanica.del.client.modeles.InformationsRecherche;
|
7 |
import org.tela_botanica.del.client.composants.moteurrecherche.MoteurRechercheVue;
|
| 9 |
import org.tela_botanica.del.client.modeles.ModeRecherche;
|
- |
|
| 10 |
import org.tela_botanica.del.client.modeles.ModeTri;
|
8 |
import org.tela_botanica.del.client.modeles.ModeRecherche;
|
| 11 |
import org.tela_botanica.del.client.modeles.Protocole;
|
9 |
import org.tela_botanica.del.client.modeles.Protocole;
|
| 12 |
import org.tela_botanica.del.client.navigation.evenement.BusEvenementiel;
|
10 |
import org.tela_botanica.del.client.navigation.evenement.BusEvenementiel;
|
| 13 |
import org.tela_botanica.del.client.navigation.evenement.changementprotocole.EvenementChangementProtocole;
|
11 |
import org.tela_botanica.del.client.navigation.evenement.changementprotocole.EvenementChangementProtocole;
|
| 14 |
import org.tela_botanica.del.client.services.rest.ImageServiceConcret;
|
12 |
import org.tela_botanica.del.client.services.rest.ImageServiceConcret;
|
| Line 17... |
Line 15... |
| 17 |
import org.tela_botanica.del.client.vues.rechercheimages.resultats.ResultatRechercheImagePresenteur;
|
15 |
import org.tela_botanica.del.client.vues.rechercheimages.resultats.ResultatRechercheImagePresenteur;
|
| 18 |
import org.tela_botanica.del.client.vues.rechercheimages.resultats.ResultatRechercheImageVue;
|
16 |
import org.tela_botanica.del.client.vues.rechercheimages.resultats.ResultatRechercheImageVue;
|
| Line 19... |
Line 17... |
| 19 |
|
17 |
|
| 20 |
import com.google.gwt.event.dom.client.ChangeEvent;
|
18 |
import com.google.gwt.event.dom.client.ChangeEvent;
|
| 21 |
import com.google.gwt.event.dom.client.ChangeHandler;
|
- |
|
| 22 |
import com.google.gwt.event.dom.client.ClickEvent;
|
- |
|
| 23 |
import com.google.gwt.event.dom.client.ClickHandler;
|
19 |
import com.google.gwt.event.dom.client.ChangeHandler;
|
| 24 |
import com.google.gwt.event.dom.client.HasChangeHandlers;
|
- |
|
| 25 |
import com.google.gwt.event.dom.client.HasClickHandlers;
|
20 |
import com.google.gwt.event.dom.client.HasChangeHandlers;
|
| 26 |
import com.google.gwt.user.client.ui.HasWidgets;
|
21 |
import com.google.gwt.user.client.ui.HasWidgets;
|
| Line 27... |
Line 22... |
| 27 |
import com.google.gwt.user.client.ui.IsWidget;
|
22 |
import com.google.gwt.user.client.ui.IsWidget;
|
| Line 44... |
Line 39... |
| 44 |
|
39 |
|
| Line 45... |
Line 40... |
| 45 |
public int getIdProtocoleSelectionne();
|
40 |
public int getIdProtocoleSelectionne();
|
| Line 46... |
Line -... |
| 46 |
|
- |
|
| 47 |
public void ajouterVue(HasWidgets composite);
|
- |
|
| 48 |
|
- |
|
| 49 |
public HasClickHandlers getTriParNbVotesAscendant();
|
- |
|
| 50 |
|
- |
|
| 51 |
public HasClickHandlers getTriParNbVotesDescendant();
|
- |
|
| 52 |
|
- |
|
| 53 |
public HasClickHandlers getTriParDateAscendant();
|
41 |
|
| Line 54... |
Line 42... |
| 54 |
|
42 |
public void ajouterVue(HasWidgets composite);
|
| Line 55... |
Line 43... |
| 55 |
public HasClickHandlers getTriParDateDescendant();
|
43 |
|
| Line 96... |
Line 84... |
| 96 |
public void onChange(ChangeEvent event) {
|
84 |
public void onChange(ChangeEvent event) {
|
| 97 |
surChangementProtocole();
|
85 |
surChangementProtocole();
|
| 98 |
}
|
86 |
}
|
| 99 |
});
|
87 |
});
|
| Line 100... |
Line -... |
| 100 |
|
- |
|
| 101 |
vue.getTriParNbVotesAscendant().addClickHandler(new ClickHandler() {
|
- |
|
| 102 |
|
- |
|
| 103 |
@Override
|
- |
|
| 104 |
public void onClick(ClickEvent arg0) {
|
- |
|
| 105 |
InformationsRecherche informationsRechercheImages = CacheClient.getInstance().getInformationsRechercheImage();
|
- |
|
| 106 |
informationsRechercheImages.setTriParNbVotes(ModeTri.TRI_ASCENDANT);
|
- |
|
| 107 |
chercherImages();
|
- |
|
| 108 |
}
|
- |
|
| 109 |
});
|
- |
|
| 110 |
|
- |
|
| 111 |
vue.getTriParNbVotesDescendant().addClickHandler(new ClickHandler() {
|
- |
|
| 112 |
|
- |
|
| 113 |
@Override
|
- |
|
| 114 |
public void onClick(ClickEvent arg0) {
|
- |
|
| 115 |
InformationsRecherche informationsRechercheImages = CacheClient.getInstance().getInformationsRechercheImage();
|
- |
|
| 116 |
informationsRechercheImages.setTriParNbVotes(ModeTri.TRI_DESCENDANT);
|
- |
|
| 117 |
chercherImages();
|
- |
|
| 118 |
}
|
- |
|
| 119 |
});
|
- |
|
| 120 |
|
- |
|
| 121 |
vue.getTriParDateAscendant().addClickHandler(new ClickHandler() {
|
- |
|
| 122 |
|
- |
|
| 123 |
@Override
|
- |
|
| 124 |
public void onClick(ClickEvent arg0) {
|
- |
|
| 125 |
InformationsRecherche informationsRechercheImages = CacheClient.getInstance().getInformationsRechercheImage();
|
- |
|
| 126 |
informationsRechercheImages.setTriParDate(ModeTri.TRI_ASCENDANT);
|
- |
|
| 127 |
chercherImages();
|
- |
|
| 128 |
}
|
- |
|
| 129 |
});
|
- |
|
| 130 |
|
- |
|
| 131 |
vue.getTriParDateDescendant().addClickHandler(new ClickHandler() {
|
- |
|
| 132 |
|
- |
|
| 133 |
@Override
|
- |
|
| 134 |
public void onClick(ClickEvent arg0) {
|
- |
|
| 135 |
InformationsRecherche informationsRechercheImages = CacheClient.getInstance().getInformationsRechercheImage();
|
- |
|
| 136 |
informationsRechercheImages.setTriParDate(ModeTri.TRI_DESCENDANT);
|
- |
|
| 137 |
chercherImages();
|
- |
|
| 138 |
}
|
- |
|
| 139 |
});
|
88 |
|
| Line 140... |
Line 89... |
| 140 |
}
|
89 |
}
|
| 141 |
|
90 |
|
| 142 |
public void surChangementProtocole() {
|
91 |
public void surChangementProtocole() {
|