Subversion Repositories eFlore/Applications.del

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
15 benjamin 1
package org.tela_botanica.del.client.navigation.evenement.validationobservation;
9 benjamin 2
 
3
import org.tela_botanica.del.client.modeles.Observation;
4
 
5
import com.google.gwt.event.shared.GwtEvent;
6
 
14 benjamin 7
public class EvenementValidation extends GwtEvent<GestionnaireEvenementValidation> {
9 benjamin 8
 
14 benjamin 9
	public static com.google.gwt.event.shared.GwtEvent.Type<GestionnaireEvenementValidation> TYPE = new com.google.gwt.event.shared.GwtEvent.Type<GestionnaireEvenementValidation>();
9 benjamin 10
 
11
	private final Observation observation;
12
 
14 benjamin 13
	public EvenementValidation(Observation observation) {
9 benjamin 14
		this.observation = observation;
15
	}
16
 
17
	@Override
14 benjamin 18
	protected void dispatch(GestionnaireEvenementValidation handler) {
73 benjamin 19
		handler.onValidationImage(this);
9 benjamin 20
	}
21
 
22
	@Override
14 benjamin 23
	public com.google.gwt.event.shared.GwtEvent.Type<GestionnaireEvenementValidation> getAssociatedType() {
9 benjamin 24
		return TYPE;
25
	}
26
 
27
	public Observation getImageCel() {
28
		return observation;
29
	}
30
 
31
}