4,6 → 4,8 |
import org.tela_botanica.del.client.composants.formulaires.autocompletion.AutoCompletionComboBoxPresenteur; |
import org.tela_botanica.del.client.composants.formulaires.autocompletion.AutoCompletionComboBoxVue; |
import org.tela_botanica.del.client.composants.presenteur.Presenteur; |
import org.tela_botanica.del.client.composants.rss.RssPresenteur; |
import org.tela_botanica.del.client.composants.rss.RssVue; |
import org.tela_botanica.del.client.config.Config; |
import org.tela_botanica.del.client.modeles.InformationsRecherche; |
import org.tela_botanica.del.client.modeles.ModeRecherche; |
90,11 → 92,14 |
|
public HasKeyPressHandlers getChampsContientMots(); |
|
public HasWidgets getZoneRss(); |
|
} |
|
private Vue vue; |
private Config config; |
private ModeRecherche modeRecherche; |
private RssPresenteur presenteurRss; |
|
public enum TypeMoteur { |
SIMPLE, AVANCEE |
116,6 → 121,10 |
} |
|
private void initialiser(Vue vue, ModeRecherche mode, Config configuration) { |
|
this.presenteurRss = new RssPresenteur(new RssVue(), CacheClient.getInstance().getInformationsRechercheObservation(), "S'abonner au flux rss des résultats de cette recherche"); |
presenteurRss.go(vue.getZoneRss()); |
|
this.vue = vue; |
setMode(mode); |
this.config = configuration; |
352,6 → 361,7 |
vue.chargerValeursRecherchePrecedente(informationsRecherche); |
} |
lancerRecherche(); |
presenteurRss.genererLien(informationsRecherche); |
} |
|
public abstract void lancerRecherche(); |