Subversion Repositories eFlore/Applications.del

Rev

Rev 52 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 52 Rev 63
Line 25... Line 25...
25
	}
25
	}
Line 26... Line 26...
26
 
26
 
27
	public void go(HasWidgets composite) {
27
	public void go(HasWidgets composite) {
28
		composite.add(vue);
28
		composite.add(vue);
29
		vue.loadImage(observation);
29
		vue.loadImage(observation);
30
		// loadValidationData();
30
		loadValidationData();
Line 31... Line 31...
31
		handleEvents();
31
		handleEvents();
Line 32... Line 32...
32
 
32
 
Line 33... Line 33...
33
	}
33
	}
34
 
-
 
35
	private void loadValidationData() {
34
 
36
 
35
	private void loadValidationData() {
37
		List<ObservationValidation> observationValidationDatas = validationService.getValidationData(observation.getIdImage());
36
 
Line 38... Line 37...
38
 
37
		List<ObservationValidation> observationValidationDatas = validationService.getValidationData(observation.getIdImage());
Line 39... Line 38...
39
		observation.setImageCelValidationDatas(observationValidationDatas);
38
		observation.setImageCelValidationDatas(observationValidationDatas);
Line 40... Line 39...
40
		new MoyenneVotePresenteur(observationValidationDatas).go(vue.getRatePanel());
39
		new MoyenneVotePresenteur(observationValidationDatas).go(vue.getVoter());
Line 41... Line 40...
41
		vue.showValidationData(observationValidationDatas);
40
		vue.showValidationData(observationValidationDatas);
42
 
41
 
-
 
42
	}
43
	}
43
 
44
 
44
	private void handleEvents() {
45
	private void handleEvents() {
45
 
Line 46... Line 46...
46
 
46
		vue.getEnSavoirPlus().addClickHandler(new ClickHandler() {