Subversion Repositories eFlore/Applications.del

Compare Revisions

Ignore whitespace Rev 581 → Rev 580

/trunk/src/org/tela_botanica/del/client/composants/moteurrecherche/MoteurRechercheVue.ui.xml
21,11 → 21,6
<g:Label text="{constants.contientMots}" />
<g:TextBox ui:field="contientMots" />
</g:HTMLPanel>
<g:HTMLPanel styleName="{style.champRecherche}">
<g:Label text="{constants.famille}" />
<g:TextBox ui:field="famille" />
</g:HTMLPanel>
 
<g:HTMLPanel styleName="{style.champRecherche}">
<g:Label text="{constants.taxon}" />
33,35 → 28,45
</g:HTMLPanel>
 
<g:HTMLPanel styleName="{style.champRecherche}">
<g:Label text="{constants.famille}" />
<g:TextBox ui:field="famille" />
</g:HTMLPanel>
<g:HTMLPanel styleName="{style.champRecherche}">
<g:Label text="{constants.genre}" />
<g:TextBox ui:field="genre" />
</g:HTMLPanel>
<g:HTMLPanel styleName="{style.champRecherche}">
<g:Label text="{constants.departement}" />
<g:TextBox ui:field="departement" />
</g:HTMLPanel>
<g:HTMLPanel styleName="{style.champRecherche}">
<g:Label text="{constants.commune}" />
<g:HTMLPanel ui:field="commune" />
</g:HTMLPanel>
<g:HTMLPanel styleName="{style.champRecherche}">
<g:Label text="{constants.departement}" />
<g:TextBox ui:field="departement" />
<g:Label text="{constants.tag}" />
<g:TextBox ui:field="tag" />
</g:HTMLPanel>
 
<g:HTMLPanel styleName="{style.champRecherche}">
<g:Label text="{constants.mot_clef}" />
<g:TextBox ui:field="motCle" />
</g:HTMLPanel>
 
<g:HTMLPanel styleName="{style.champRecherche}">
<g:Label text="{constants.auteur}" />
<g:TextBox ui:field="auteur" />
</g:HTMLPanel>
</g:HTMLPanel>
 
<g:HTMLPanel styleName="{style.champRecherche}">
<g:Label text="{constants.date}" />
<g:TextBox ui:field="date" />
</g:HTMLPanel>
<g:HTMLPanel styleName="{style.champRecherche}">
<g:Label text="{constants.tag}" />
<g:TextBox ui:field="motCle" />
</g:HTMLPanel>
 
<g:Button styleName="{style.boutonRecherche}" ui:field="boutonRechercheAvancee" text="{constants.rechercher}"></g:Button>
<g:HTMLPanel styleName="nettoyage" />
</g:HTMLPanel>
/trunk/src/org/tela_botanica/del/client/composants/moteurrecherche/MoteurRecherchePresenteur.java
57,6 → 57,8
 
public String getGenre();
 
public String getTag();
 
public String getMotCle();
 
public String getAuteur();
79,6 → 81,8
 
public HasKeyPressHandlers getChampsGenre();
 
public HasKeyPressHandlers getChampsTag();
 
public HasKeyPressHandlers getChampsMotCle();
 
public HasKeyPressHandlers getChampsAuteur();
265,6 → 269,8
 
vue.getChampsMotCle().addKeyPressHandler(createKeyboardAdvancedSearchHandler());
 
vue.getChampsTag().addKeyPressHandler(createKeyboardAdvancedSearchHandler());
 
}
 
public KeyPressHandler createKeyboardAdvancedSearchHandler() {
294,8 → 300,8
informationRecherche.setCommune(completionCommunesPresenteur.getValeur());
informationRecherche.setFamille(vue.getFamille());
informationRecherche.setGenre(vue.getGenre());
informationRecherche.setTag(vue.getTag());
informationRecherche.setMotClef(vue.getMotCle());
informationRecherche.setTag(vue.getMotCle());
informationRecherche.setAuteur(vue.getAuteur());
informationRecherche.setDate(vue.getDate());
}
/trunk/src/org/tela_botanica/del/client/composants/moteurrecherche/MoteurRechercheVue.java
31,7 → 31,7
@UiField
Button boutonRecherche, boutonRechercheAvancee, boutonFermer, boutonVider;
@UiField
TextBox recherchePrincipale, contientMots, departement, famille, genre, motCle, auteur, date;
TextBox recherchePrincipale, contientMots, departement, famille, genre, tag, motCle, auteur, date;
 
public MoteurRechercheVue(String labelRecherche) {
initWidget(uiBinder.createAndBindUi(this));
112,6 → 112,10
return genre.getText();
}
 
public String getTag() {
return tag.getText();
}
 
public String getMotCle() {
return motCle.getText();
}
148,6 → 152,7
departement.setText(informationsRecherche.getDepartement());
famille.setText(informationsRecherche.getFamille());
genre.setText(informationsRecherche.getGenre());
tag.setText(informationsRecherche.getTag());
motCle.setText(informationsRecherche.getMotClef());
auteur.setText(informationsRecherche.getAuteur());
date.setText(informationsRecherche.getDate());
210,6 → 215,11
}
 
@Override
public HasKeyPressHandlers getChampsTag() {
return tag;
}
 
@Override
public HasKeyPressHandlers getChampsMotCle() {
return motCle;
}