Rev 210 | 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.Image;
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 Image image;
public EvenementValidation(Image image) {
this.image = image;
}
@Override
protected void dispatch(GestionnaireEvenementValidation handler) {
handler.onValidationImage(this);
}
@Override
public com.google.gwt.event.shared.GwtEvent.Type<GestionnaireEvenementValidation> getAssociatedType() {
return TYPE;
}
public Image getImage() {
return image;
}
}