Subversion Repositories eFlore/Applications.del

Rev

Rev 286 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 286 Rev 298
Line 9... Line 9...
9
import org.tela_botanica.del.client.services.rest.VoteProtocoleService;
9
import org.tela_botanica.del.client.services.rest.VoteProtocoleService;
10
import org.tela_botanica.del.client.utils.MockDatasource;
10
import org.tela_botanica.del.client.utils.MockDatasource;
11
import org.tela_botanica.del.client.vues.plateformedetermination.vote.protocole.moyenne.MoyenneVoteProtocolePresenteur;
11
import org.tela_botanica.del.client.vues.plateformedetermination.vote.protocole.moyenne.MoyenneVoteProtocolePresenteur;
Line 12... Line 12...
12
 
12
 
-
 
13
import com.google.gwt.user.client.ui.HasWidgets;
Line 13... Line 14...
13
import com.google.gwt.user.client.ui.HasWidgets;
14
import com.google.gwt.user.client.ui.IsWidget;
Line -... Line 15...
-
 
15
 
14
 
16
public class EnsembleVotesPresenteur {
-
 
17
 
Line -... Line 18...
-
 
18
	public interface Vue extends IsWidget {
15
public class EnsembleVotesPresenteur {
19
		public HasWidgets getPanneauVotes();
16
 
20
	}
Line -... Line 21...
-
 
21
 
-
 
22
	private Vue vue;
-
 
23
	private ProtocoleService protocoleService = MockDatasource.getInstance();
-
 
24
	private VoteProtocoleService voteProtocoleService = MockDatasource.getInstance();
17
	private EnsembleVotesVue vue = new EnsembleVotesVue();
25
 
18
 
26
	public EnsembleVotesPresenteur(Vue vue) {
19
	private ProtocoleService protocoleService = MockDatasource.getInstance();
27
		this.vue = vue;
20
	private VoteProtocoleService voteProtocoleService = MockDatasource.getInstance();
28
	}
Line 21... Line 29...
21
 
29
 
Line 22... Line 30...
22
	public void go(HasWidgets container) {
30
	public void go(HasWidgets container) {
Line 23... Line 31...
23
		container.add(vue);
31
		container.add(vue.asWidget());
24
		afficherVotes();
32
		afficherVotes();