| 184 | 
           benjamin | 
           1 | 
           package org.tela_botanica.del.client.vues.vueinitiale;
  | 
        
        
            | 
            | 
           2 | 
              | 
        
        
           | 602 | 
           aurelien | 
           3 | 
           import org.tela_botanica.del.client.composants.formulaires.identification.FormulaireIdentificationPresenteur;
  | 
        
        
            | 
            | 
           4 | 
           import org.tela_botanica.del.client.composants.formulaires.identification.FormulaireIdentificationVue;
  | 
        
        
           | 184 | 
           benjamin | 
           5 | 
           import org.tela_botanica.del.client.gestionhistorique.ConstantesNavigation;
  | 
        
        
           | 555 | 
           gduche | 
           6 | 
           import org.tela_botanica.del.client.services.rest.UtilisateurService;
  | 
        
        
           | 556 | 
           gduche | 
           7 | 
           import org.tela_botanica.del.client.services.rest.UtilisateurServiceConcret;
  | 
        
        
           | 555 | 
           gduche | 
           8 | 
           import org.tela_botanica.del.client.services.rest.async.UtilisateurCallback;
  | 
        
        
           | 184 | 
           benjamin | 
           9 | 
              | 
        
        
            | 
            | 
           10 | 
           import com.google.gwt.core.client.GWT;
  | 
        
        
            | 
            | 
           11 | 
           import com.google.gwt.uibinder.client.UiBinder;
  | 
        
        
            | 
            | 
           12 | 
           import com.google.gwt.uibinder.client.UiField;
  | 
        
        
            | 
            | 
           13 | 
           import com.google.gwt.user.client.ui.Composite;
  | 
        
        
            | 
            | 
           14 | 
           import com.google.gwt.user.client.ui.Hyperlink;
  | 
        
        
           | 539 | 
           gduche | 
           15 | 
           import com.google.gwt.user.client.ui.Panel;
  | 
        
        
           | 184 | 
           benjamin | 
           16 | 
           import com.google.gwt.user.client.ui.Widget;
  | 
        
        
            | 
            | 
           17 | 
              | 
        
        
            | 
            | 
           18 | 
           public class VueInitiale extends Composite {
  | 
        
        
            | 
            | 
           19 | 
              | 
        
        
            | 
            | 
           20 | 
           	// Gestion d'UiBinder
  | 
        
        
            | 
            | 
           21 | 
           	interface Binder extends UiBinder<Widget, VueInitiale> {
  | 
        
        
            | 
            | 
           22 | 
           	}
  | 
        
        
            | 
            | 
           23 | 
              | 
        
        
            | 
            | 
           24 | 
           	private static Binder binder = GWT.create(Binder.class);
  | 
        
        
            | 
            | 
           25 | 
              | 
        
        
            | 
            | 
           26 | 
           	@UiField
  | 
        
        
           | 539 | 
           gduche | 
           27 | 
           	protected Hyperlink lienRechercheImages, lienRechercheObservations;
  | 
        
        
           | 184 | 
           benjamin | 
           28 | 
              | 
        
        
           | 539 | 
           gduche | 
           29 | 
           	@UiField Panel zoneIdentification;
  | 
        
        
            | 
            | 
           30 | 
              | 
        
        
           | 184 | 
           benjamin | 
           31 | 
           	// Constructeur de la vue
  | 
        
        
            | 
            | 
           32 | 
           	public VueInitiale() {
  | 
        
        
            | 
            | 
           33 | 
           		initWidget(binder.createAndBindUi(this));
  | 
        
        
            | 
            | 
           34 | 
              | 
        
        
            | 
            | 
           35 | 
           		lienRechercheImages.setText("Recherche par image");
  | 
        
        
            | 
            | 
           36 | 
           		lienRechercheImages.setTargetHistoryToken(ConstantesNavigation.PAGE_RECHERCHE_IMAGES);
  | 
        
        
            | 
            | 
           37 | 
              | 
        
        
            | 
            | 
           38 | 
           		lienRechercheObservations.setText("Recherche par observation");
  | 
        
        
            | 
            | 
           39 | 
           		lienRechercheObservations.setTargetHistoryToken(ConstantesNavigation.PAGE_RECHERCHE_OBSERVATIONS);
  | 
        
        
           | 539 | 
           gduche | 
           40 | 
              | 
        
        
           | 556 | 
           gduche | 
           41 | 
           		FormulaireIdentificationPresenteur presenteurIdentification = new FormulaireIdentificationPresenteur(new FormulaireIdentificationVue(), new UtilisateurServiceConcret());
  | 
        
        
           | 539 | 
           gduche | 
           42 | 
           		presenteurIdentification.go(zoneIdentification);
  | 
        
        
           | 184 | 
           benjamin | 
           43 | 
           	}
  | 
        
        
            | 
            | 
           44 | 
              | 
        
        
            | 
            | 
           45 | 
           	public Hyperlink getLienRechercheImages() {
  | 
        
        
            | 
            | 
           46 | 
           		return lienRechercheImages;
  | 
        
        
            | 
            | 
           47 | 
           	}
  | 
        
        
            | 
            | 
           48 | 
              | 
        
        
            | 
            | 
           49 | 
           	public Hyperlink getLienRechercheObservations() {
  | 
        
        
            | 
            | 
           50 | 
           		return lienRechercheObservations;
  | 
        
        
            | 
            | 
           51 | 
           	}
  | 
        
        
            | 
            | 
           52 | 
              | 
        
        
            | 
            | 
           53 | 
           }
  |