Subversion Repositories eFlore/Applications.del

Rev

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

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

import java.util.List;

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

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<ObservationValidation> validationDatas) {

                for (ObservationValidation imageCelValidationData : validationDatas) {

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

                initWidget(mainPanel);

        }

}