Subversion Repositories eFlore/Applications.del

Rev

Rev 9 | Go to most recent revision | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 9 Rev 14
1
package org.tela_botanica.del.client.vues.searchobservations.detail;
1
package org.tela_botanica.del.client.vues.rechercheobservations.detail;
2
 
2
 
3
import org.tela_botanica.del.client.modeles.Observation;
3
import org.tela_botanica.del.client.modeles.Observation;
4
 
4
 
5
import com.google.gwt.user.client.ui.HasWidgets;
5
import com.google.gwt.user.client.ui.HasWidgets;
6
 
6
 
7
public class ObservationDetailPresenter {
7
public class ObservationDetailPresenteur {
8
 
8
 
9
	private ObservationDetailView view = new ObservationDetailView();
9
	private ObservationDetailVue view = new ObservationDetailVue();
10
 
10
 
11
	private Observation observation;
11
	private Observation observation;
12
 
12
 
13
	public ObservationDetailPresenter(Observation imageCel) {
13
	public ObservationDetailPresenteur(Observation imageCel) {
14
		this.observation = imageCel;
14
		this.observation = imageCel;
15
	}
15
	}
16
 
16
 
17
	public void go(HasWidgets container) {
17
	public void go(HasWidgets container) {
18
		view.loadDetails(observation);
18
		view.loadDetails(observation);
19
		container.add(view);
19
		container.add(view);
20
	}
20
	}
21
 
21
 
22
}
22
}