116 |
benjamin |
1 |
package org.tela_botanica.del.client.vues.plateformedetermination.vote.protocole;
|
|
|
2 |
|
|
|
3 |
import java.util.List;
|
|
|
4 |
|
|
|
5 |
import org.tela_botanica.del.client.modeles.Protocole;
|
148 |
benjamin |
6 |
import org.tela_botanica.del.client.modeles.VoteProtocole;
|
116 |
benjamin |
7 |
import org.tela_botanica.del.client.vues.plateformedetermination.vote.protocole.moyenne.MoyenneVoteProtocolePresenteur;
|
|
|
8 |
import org.tela_botanica.del.client.vues.plateformedetermination.vote.protocole.personnel.MonVoteProtocolePresenteur;
|
|
|
9 |
|
|
|
10 |
import com.google.gwt.user.client.ui.HasWidgets;
|
|
|
11 |
|
|
|
12 |
public class VoteProtocolePresenteur {
|
|
|
13 |
|
|
|
14 |
private VoteProtocoleVue vue = new VoteProtocoleVue();
|
|
|
15 |
|
|
|
16 |
private Protocole protocole;
|
|
|
17 |
|
148 |
benjamin |
18 |
private List<VoteProtocole> validationDatas;
|
116 |
benjamin |
19 |
|
148 |
benjamin |
20 |
public VoteProtocolePresenteur(Protocole protocole, List<VoteProtocole> validationDatas) {
|
116 |
benjamin |
21 |
this.protocole = protocole;
|
|
|
22 |
this.validationDatas = validationDatas;
|
|
|
23 |
}
|
|
|
24 |
|
|
|
25 |
public void go(HasWidgets container) {
|
|
|
26 |
container.add(vue);
|
|
|
27 |
new MoyenneVoteProtocolePresenteur(protocole, validationDatas).go(vue.getMoyenneVotes());
|
|
|
28 |
new MonVoteProtocolePresenteur(protocole).go(vue.getMonVote());
|
|
|
29 |
|
|
|
30 |
}
|
|
|
31 |
|
|
|
32 |
}
|