Subversion Repositories eFlore/Applications.del

Compare Revisions

Ignore whitespace Rev 1119 → Rev 1120

/trunk/src/org/tela_botanica/del/client/composants/moteurrecherche/MoteurRechercheVue.ui.xml
65,7 → 65,11
<g:Button styleName="{style.boutonRecherche} {style.rechercherAvance}" ui:field="boutonRechercheAvancee" text="{constants.rechercher}"></g:Button>
<g:HTMLPanel styleName="nettoyage" />
</g:HTMLPanel>
<g:HTMLPanel styleName="droite">
<g:HTMLPanel ui:field="zoneRss" styleName="{style.zoneRss}"></g:HTMLPanel>
</g:HTMLPanel>
<g:Label ui:field="recherchePrecedente" styleName="{style.recherchePrecedente}" />
<g:HTMLPanel ui:field="zonePagination" />
</g:HTMLPanel>
</ui:UiBinder>
/trunk/src/org/tela_botanica/del/client/composants/moteurrecherche/MoteurRecherchePresenteur.java
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;
89,6 → 91,8
public HasKeyPressHandlers getChampsDepartement();
public HasKeyPressHandlers getChampsContientMots();
public HasWidgets getZoneRss();
 
}
 
95,7 → 99,8
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();
/trunk/src/org/tela_botanica/del/client/composants/moteurrecherche/MoteurRechercheVue.java
25,7 → 25,7
private String labelRecherche = "";
 
@UiField
Panel rechercheAvancee, taxon, commune;
Panel rechercheAvancee, taxon, commune, zoneRss;
@UiField
Label lienRechercheAvancee, recherchePrecedente;
@UiField
233,4 → 233,8
public HasKeyPressHandlers getChampsContientMots() {
return contientMots;
}
public HasWidgets getZoneRss() {
return zoneRss;
}
}
/trunk/src/org/tela_botanica/del/client/composants/moteurrecherche/MoteurRecherche.css
77,4 → 77,11
 
.zoneRecherche {
margin-bottom:30px;
}
.zoneRss {
float:right;
margin-top:5px;
}
.zoneRss a {
border:none;
}