Line 7... |
Line 7... |
7 |
import org.tela_botanica.del.client.modeles.VoteDetermination;
|
7 |
import org.tela_botanica.del.client.modeles.VoteDetermination;
|
8 |
import org.tela_botanica.del.client.navigation.evenement.BusEvenementiel;
|
8 |
import org.tela_botanica.del.client.navigation.evenement.BusEvenementiel;
|
9 |
import org.tela_botanica.del.client.navigation.evenement.voteDetermination.EvenementVoteDetermination;
|
9 |
import org.tela_botanica.del.client.navigation.evenement.voteDetermination.EvenementVoteDetermination;
|
10 |
import org.tela_botanica.del.client.services.CalculVoteDeterminationService;
|
10 |
import org.tela_botanica.del.client.services.CalculVoteDeterminationService;
|
11 |
import org.tela_botanica.del.client.services.rest.VoteDeterminationService;
|
11 |
import org.tela_botanica.del.client.services.rest.VoteDeterminationService;
|
12 |
import org.tela_botanica.del.client.services.rest.VoteDeterminationServiceConcret;
|
- |
|
13 |
import org.tela_botanica.del.client.services.rest.async.AjoutVoteDeterminationCallback;
|
12 |
import org.tela_botanica.del.client.services.rest.async.AjoutVoteDeterminationCallback;
|
Line 14... |
Line 13... |
14 |
|
13 |
|
15 |
import com.google.gwt.event.dom.client.ClickEvent;
|
14 |
import com.google.gwt.event.dom.client.ClickEvent;
|
16 |
import com.google.gwt.event.dom.client.ClickHandler;
|
15 |
import com.google.gwt.event.dom.client.ClickHandler;
|
Line 41... |
Line 40... |
41 |
|
40 |
|
42 |
private Vue vue;
|
41 |
private Vue vue;
|
Line 43... |
Line 42... |
43 |
private MoyenneVote moyenneVote;
|
42 |
private MoyenneVote moyenneVote;
|
44 |
|
43 |
|
Line 45... |
Line 44... |
45 |
// TODO: classe conteneur qui est passé en paramètre au constructeur
|
44 |
// TODO: classe conteneur qui est passé en paramètre au constructeur
|
46 |
private VoteDeterminationService voteDeterminationService = new VoteDeterminationServiceConcret();
|
45 |
private VoteDeterminationService voteDeterminationService;
|
- |
|
46 |
|
47 |
|
47 |
public BarreRepartitionVotePresenteur(Vue vue, VoteDeterminationService voteDeterminationService) {
|
48 |
public BarreRepartitionVotePresenteur(Vue vue) {
|
48 |
this.vue = vue;
|
Line 49... |
Line 49... |
49 |
this.vue = vue;
|
49 |
this.voteDeterminationService = voteDeterminationService;
|
50 |
gererEvenements();
|
50 |
gererEvenements();
|