Rev 332 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
package org.tela_botanica.del.client.navigation.evenement.validationobservation;
import org.tela_botanica.del.client.modeles.Observation;
import com.google.gwt.event.shared.GwtEvent;
public class EvenementValidation extends GwtEvent<GestionnaireEvenementValidation> {
public static com.google.gwt.event.shared.GwtEvent.Type<GestionnaireEvenementValidation> TYPE = new com.google.gwt.event.shared.GwtEvent.Type<GestionnaireEvenementValidation>();
private final Observation observation;
public EvenementValidation(Observation observation) {
this.observation = observation;
}
@Override
protected void dispatch(GestionnaireEvenementValidation handler) {
handler.onValidationObservation(this);
}
@Override
public com.google.gwt.event.shared.GwtEvent.Type<GestionnaireEvenementValidation> getAssociatedType() {
return TYPE;
}
public Observation getObservation() {
return observation;
}
}