Subversion Repositories eFlore/Applications.del

Compare Revisions

Ignore whitespace Rev 1205 → Rev 1206

/trunk/src/org/tela_botanica/del/client/vues/identiplante/moteur/MoteurIdentiplanteVueBinderImplGenMessages.properties
File deleted
/trunk/src/org/tela_botanica/del/client/vues/identiplante/moteur/MoteurIdentiplanteVue.java
26,10 → 26,8
private static Binder binder = GWT.create(Binder.class);
 
@UiField
Panel zoneRecherche, zoneResultats, zonePartageUrl;
Panel zoneRecherche, zoneResultats;
 
@UiField
Label ajouterObservation;
 
@UiField
CheckBox radioTout, radioDeterminer, radioDiscussion;
38,10 → 36,6
return zoneRecherche;
}
public Panel getZonePartageUrl() {
return zonePartageUrl;
}
// Constructeur de la vue
public MoteurIdentiplanteVue() {
initWidget(binder.createAndBindUi(this));
51,11 → 45,6
return zoneResultats;
}
@Override
public HasClickHandlers getLienAjoutObservation() {
return ajouterObservation;
}
public String getValeurRadioStatut() {
String valeurStatut = "";
if (radioDeterminer.getValue()) {
/trunk/src/org/tela_botanica/del/client/vues/identiplante/moteur/MoteurIdentiplante.css
8,10 → 8,6
margin-top:10px;
margin-bottom:10px;
}
.chapeau {
min-height:70px;
}
 
.zoneStatut {
margin-top:;
}
/trunk/src/org/tela_botanica/del/client/vues/identiplante/moteur/MoteurIdentiplanteVue.ui.xml
9,14 → 9,6
<ui:style src="MoteurIdentiplante.css" />
<g:HTMLPanel styleName="limiteMax">
<g:HTMLPanel>
<g:HTML styleName="{style.chapeau}"><ui:msg key="chapeauObservation">Cet espace vous permet d'échanger sur la détermination d'espèces.
Vous ne parvenez pas à déterminer une plante ? Soumettez-la aux membres du réseau.
Vous avez relevé des erreurs dans les images soumises par le réseau ? Postez un commentaire ou proposez une nouvelle détermination.</ui:msg></g:HTML>
<g:Label ui:field="ajouterObservation" text="{constants.ajouterObservation}" title="{constants.legendeAjouterObservation}" styleName="acceder-outil {style.lienProposerObservation}"/>
<g:Anchor target="_blank" href="{constants.lienAideIdentiplante}" ui:field="aide" text="{constants.accesAide}" title="{constants.legendeAjouterObservation}" styleName="acceder-aide {style.lienAide}"/>
<g:HTMLPanel ui:field="zonePartageUrl"></g:HTMLPanel>
</g:HTMLPanel>
<g:HTMLPanel styleName="limiteMax importance1">
<g:Label text="{constants.rechercherObservation}" styleName="titre {style.titreRechercheObs}" />
/trunk/src/org/tela_botanica/del/client/vues/identiplante/moteur/MoteurIdentiplantePresenteur.java
27,8 → 27,6
 
public HasWidgets getZoneResultats();
 
HasClickHandlers getLienAjoutObservation();
public String getValeurRadioStatut();
public HasClickHandlers getRadioADeterminer();
36,8 → 34,6
public HasClickHandlers getRadioEnDiscussion();
public void decocherRadioTout();
public Panel getZonePartageUrl();
 
}
 
51,8 → 47,6
 
composite.add(vue.asWidget());
ajouterMoteurRechercheAvancee();
PartageUrlPresenteur presenteurPartageUrl = new PartageUrlPresenteur(new PartageUrlVue());
presenteurPartageUrl.go(vue.getZonePartageUrl());
gererEvenements();
}
75,15 → 69,7
}
 
protected void gererEvenements() {
vue.getLienAjoutObservation().addClickHandler(new ClickHandler() {
@Override
public void onClick(ClickEvent event) {
Config config = new Config();
Window.open(config.getUrl("applisaisie"), "Saisie d'une nouvelle observation", null);
}
});
vue.getRadioADeterminer().addClickHandler(new ClickHandler() {
@Override