Subversion Repositories eFlore/Applications.del

Rev

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

Rev 66 Rev 148
Line 1... Line 1...
1
package org.tela_botanica.del.client.vues.rechercheobservations.vote;
1
package org.tela_botanica.del.client.vues.rechercheimages.vote;
Line 2... Line 2...
2
 
2
 
Line 3... Line 3...
3
import java.util.List;
3
import java.util.List;
4
 
4
 
Line 5... Line 5...
5
import org.cobogw.gwt.user.client.ui.Rating;
5
import org.cobogw.gwt.user.client.ui.Rating;
6
import org.tela_botanica.del.client.modeles.ObservationValidation;
6
import org.tela_botanica.del.client.modeles.VoteProtocole;
7
 
7
 
8
import com.google.gwt.core.client.GWT;
8
import com.google.gwt.core.client.GWT;
Line 30... Line 30...
30
	FocusPanel voter;
30
	FocusPanel voter;
Line 31... Line 31...
31
 
31
 
32
	@UiField
32
	@UiField
Line 33... Line 33...
33
	Label nbVotes;
33
	Label nbVotes;
34
 
34
 
Line 35... Line 35...
35
	protected MoyenneVoteVue(List<ObservationValidation> validationDatas) {
35
	protected MoyenneVoteVue(List<VoteProtocole> validationDatas) {
36
		initWidget(uiBinder.createAndBindUi(this));
36
		initWidget(uiBinder.createAndBindUi(this));
37
 
37
 
Line 38... Line 38...
38
		int meanVote = 0;
38
		int meanVote = 0;
39
		int nbVote = 0;
39
		int nbVote = 0;
40
		for (ObservationValidation imageCelValidationData : validationDatas) {
40
		for (VoteProtocole imageCelValidationData : validationDatas) {
41
 
41