Subversion Repositories eFlore/Applications.del

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
148 benjamin 1
package org.tela_botanica.del.client.vues.rechercheimages.vote;
9 benjamin 2
 
3
import java.util.List;
4
 
148 benjamin 5
import org.tela_botanica.del.client.modeles.VoteProtocole;
9 benjamin 6
 
7
import com.google.gwt.user.client.ui.Composite;
8
import com.google.gwt.user.client.ui.HTML;
9
import com.google.gwt.user.client.ui.Panel;
10
import com.google.gwt.user.client.ui.VerticalPanel;
11
 
14 benjamin 12
public class DetailVoteVue extends Composite {
9 benjamin 13
 
14
	private Panel mainPanel = new VerticalPanel();
15
 
148 benjamin 16
	protected DetailVoteVue(List<VoteProtocole> validationDatas) {
9 benjamin 17
 
148 benjamin 18
		for (VoteProtocole imageCelValidationData : validationDatas) {
9 benjamin 19
 
20
			mainPanel.add(new HTML("Vote " + imageCelValidationData.getVote()
93 aurelien 21
					+ " par " + imageCelValidationData.getContributeur()));
9 benjamin 22
		}
23
 
24
		initWidget(mainPanel);
25
 
26
	}
27
 
28
}