Go to most recent revision | 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.core.shared.GWT;
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;
}
}