Subversion Repositories eFlore/Applications.del

Rev

Rev 93 | Blame | Last modification | View Log | RSS feed

package org.tela_botanica.del.client.vues.rechercheimages.vote;

import java.util.List;

import org.tela_botanica.del.client.modeles.VoteProtocole;

import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.HTML;
import com.google.gwt.user.client.ui.Panel;
import com.google.gwt.user.client.ui.VerticalPanel;

public class DetailVoteVue extends Composite {

        private Panel mainPanel = new VerticalPanel();

        protected DetailVoteVue(List<VoteProtocole> validationDatas) {

                for (VoteProtocole imageCelValidationData : validationDatas) {

                        mainPanel.add(new HTML("Vote " + imageCelValidationData.getVote()
                                        + " par " + imageCelValidationData.getContributeur()));
                }

                initWidget(mainPanel);

        }

}