Subversion Repositories eFlore/Applications.del

Compare Revisions

Ignore whitespace Rev 236 → Rev 237

/trunk/src/org/tela_botanica/del/client/vues/comparaisoneflore/ComparaisonEflorePresenteur.java
14,15 → 14,10
public class ComparaisonEflorePresenteur {
 
private ComparaisonEfloreVue vue = new ComparaisonEfloreVue();
 
private final MockDatasource observationService = MockDatasource.getInstance();
 
private final MockDatasource validationService = MockDatasource.getInstance();
 
private Image imagePrincipale;
 
private String nomTaxonComparaison;
 
private List<org.tela_botanica.del.client.modeles.Image> imagesEflore;
 
public ComparaisonEflorePresenteur() {
49,7 → 44,7
}
 
private void gererEvenements() {
vue.getScrollLeftImage().addClickHandler(new ClickHandler() {
vue.scrollLeftImage.addClickHandler(new ClickHandler() {
 
@Override
public void onClick(ClickEvent event) {
57,7 → 52,7
}
});
 
vue.getScrollRightImage().addClickHandler(new ClickHandler() {
vue.scrollRightImage.addClickHandler(new ClickHandler() {
 
@Override
public void onClick(ClickEvent event) {
/trunk/src/org/tela_botanica/del/client/vues/comparaisoneflore/ComparaisonEfloreVue.java
21,27 → 21,14
}
 
private static MyUiBinder uiBinder = GWT.create(MyUiBinder.class);
private int currentIndexImages;
 
@UiField
Label nomAuteur, dateObservation, famille, motsClefs, validateurs, dateValidation;
Label nomAuteur, dateObservation, famille, motsClefs, validateurs, dateValidation, nomEspeceEflore, nomAuteurEflore, localiteEflore, dateObservationEflore;
 
@UiField
Label nomEspeceEflore, nomAuteurEflore, localiteEflore, dateObservationEflore;
Image imagePrincipale, imageEflore, scrollLeftImage, scrollRightImage;
 
@UiField
Image imagePrincipale;
 
@UiField
Image imageEflore;
 
@UiField
Image scrollLeftImage;
 
@UiField
Image scrollRightImage;
 
private int currentIndexImages;
 
public ComparaisonEfloreVue() {
initWidget(uiBinder.createAndBindUi(this));
}
98,10 → 85,6
 
}
 
public Image getScrollLeftImage() {
return scrollLeftImage;
}
 
public void setScrollLeftImage(Image scrollLeftImage) {
this.scrollLeftImage = scrollLeftImage;
}
110,8 → 93,4
return currentIndexImages;
}
 
public Image getScrollRightImage() {
return scrollRightImage;
}
 
}