Subversion Repositories eFlore/Applications.del

Rev

Rev 1196 | Blame | Compare with Previous | Last modification | View Log | RSS feed

package org.tela_botanica.del.client.navigation.evenement.validationobservationpictoflora;

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

import com.google.gwt.event.shared.GwtEvent;

public class EvenementValidationPictoflora extends GwtEvent<GestionnaireEvenementValidationPictoflora> {

        public static com.google.gwt.event.shared.GwtEvent.Type<GestionnaireEvenementValidationPictoflora> TYPE = new com.google.gwt.event.shared.GwtEvent.Type<GestionnaireEvenementValidationPictoflora>();
        private final Observation observation;

        public EvenementValidationPictoflora(Observation observation) {
                this.observation = observation;
        }
        
        @Override
        protected void dispatch(GestionnaireEvenementValidationPictoflora handler) {
                handler.onValidationObservation(this);
        }

        @Override
        public com.google.gwt.event.shared.GwtEvent.Type<GestionnaireEvenementValidationPictoflora> getAssociatedType() {
                return TYPE;
        }

        public Observation getObservation() {
                return observation;
        }

}