Subversion Repositories eFlore/Applications.del

Rev

Rev 1196 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1196 gduche 1
package org.tela_botanica.del.client.vues.pictoflora.plateformedetermination.detail;
2
 
3
import org.tela_botanica.del.client.cache.CacheClient;
4
 
5
import com.google.gwt.user.client.ui.HasWidgets;
6
import com.google.gwt.user.client.ui.IsWidget;
7
 
8
public class DetailImageObservationPresenteur {
9
 
10
	public interface Vue extends IsWidget {
11
		public void chargerInformationsObservation(org.tela_botanica.del.client.modeles.Image image);
12
	}
13
 
14
	private Vue vue;
15
 
16
	public DetailImageObservationPresenteur(Vue vue) {
17
		this.vue = vue;
18
	}
19
 
20
	public void go(HasWidgets composite) {
21
		vue.chargerInformationsObservation(CacheClient.getInstance().getImageCourante());
22
		composite.add(vue.asWidget());
23
	}
24
}