Subversion Repositories eFlore/Applications.del

Rev

Rev 1342 | Rev 1531 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1342 Rev 1393
Line 25... Line 25...
25
	}
25
	}
Line 26... Line 26...
26
 
26
 
Line 27... Line 27...
27
	private static Binder binder = GWT.create(Binder.class);
27
	private static Binder binder = GWT.create(Binder.class);
28
 
28
 
Line 29... Line 29...
29
	@UiField
29
	@UiField
30
	Label nomRetenu, famille, auteur, localite, motsClefs, numNomenclatural, nomCommun, commentaire, milieu, station;
30
	Label nomRetenu, famille, auteur, localite, motsClefs, numNomenclatural, nomCommun, commentaire, milieu, station, referentiel;
Line 31... Line 31...
31
 
31
 
Line 41... Line 41...
41
	@UiField
41
	@UiField
42
	Anchor lienIdentiplante; 
42
	Anchor lienIdentiplante; 
Line 43... Line 43...
43
	
43
	
44
	public MetadonneesVue() {
44
	public MetadonneesVue() {
45
		initWidget(binder.createAndBindUi(this));
-
 
46
		
-
 
47
 
45
		initWidget(binder.createAndBindUi(this));
48
		//Le lien ne doit être affiché que sur pictoflora
46
		//Le lien ne doit être affiché que sur pictoflora
49
		if (!CacheClient.getInstance().getPageCourante().equals(ConstantesNavigation.PAGE_RECHERCHE_IMAGES)) {
47
		if (!CacheClient.getInstance().getPageCourante().equals(ConstantesNavigation.PAGE_RECHERCHE_IMAGES)) {
50
			lienIdentiplante.setVisible(false);
48
			lienIdentiplante.setVisible(false);
51
		}
49
		}
Line 197... Line 195...
197
 
195
 
198
	public void setLienIdentiplante(String id) {
196
	public void setLienIdentiplante(String id) {
199
		lienIdentiplante.setHref(GWT.getHostPageBaseURL() + GWT.getModuleName() + ".html#page_validation~" + id);
197
		lienIdentiplante.setHref(GWT.getHostPageBaseURL() + GWT.getModuleName() + ".html#page_validation~" + id);
200
		lienIdentiplante.setTarget("_blank");
198
		lienIdentiplante.setTarget("_blank");
-
 
199
	}
-
 
200
 
-
 
201
	@Override
-
 
202
	public HasText getReferentiel() {
-
 
203
		return referentiel;
201
	}
204
	}