Subversion Repositories eFlore/Applications.del

Rev

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

package org.tela_botanica.del.client.vues.rechercheobservations.resultats.observations;


import com.google.gwt.core.client.GWT;
import com.google.gwt.event.dom.client.HasClickHandlers;
import com.google.gwt.uibinder.client.UiBinder;
import com.google.gwt.uibinder.client.UiField;
import com.google.gwt.user.client.ui.Button;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.Label;
import com.google.gwt.user.client.ui.Panel;
import com.google.gwt.user.client.ui.Widget;

public class ObservationVue extends Composite implements ObservationPresenteur.Vue {

        // Gestion d'UiBinder
        interface Binder extends UiBinder<Widget, ObservationVue> {
        }

        private static Binder binder = GWT.create(Binder.class);

        @UiField
        Button boutonAjoutProposition;
        
        @UiField
        Label lienDeterminer;

        @UiField
        protected Panel determinationsPanel;

        @UiField
        protected Panel imagesPanel, metadonnees;

        public ObservationVue() {
                initWidget(binder.createAndBindUi(this));
        }

        @Override
        public HasClickHandlers getBoutonAjoutProposition() {
                return boutonAjoutProposition;
        }

        public Panel getDeterminationsPanel() {
                return determinationsPanel;
        }

        public void setDeterminationsPanel(Panel determinationsPanel) {
                this.determinationsPanel = determinationsPanel;
        }

        public Panel getImagesPanel() {
                return imagesPanel;
        }
        
        public Panel getMetadonneesPanel() {
                return metadonnees;
        }

        @Override
        public HasClickHandlers getLienDeterminer() {
                return lienDeterminer;
        }
}