Subversion Repositories eFlore/Applications.del

Rev

Rev 1503 | Details | Compare with Previous | 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
 
332 gduche 3
import org.tela_botanica.del.client.modeles.Observation;
9 benjamin 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>();
332 gduche 10
	private final Observation observation;
9 benjamin 11
 
332 gduche 12
	public EvenementValidation(Observation observation) {
13
		this.observation = observation;
9 benjamin 14
	}
332 gduche 15
 
9 benjamin 16
	@Override
14 benjamin 17
	protected void dispatch(GestionnaireEvenementValidation handler) {
332 gduche 18
		handler.onValidationObservation(this);
9 benjamin 19
	}
20
 
21
	@Override
14 benjamin 22
	public com.google.gwt.event.shared.GwtEvent.Type<GestionnaireEvenementValidation> getAssociatedType() {
9 benjamin 23
		return TYPE;
24
	}
25
 
332 gduche 26
	public Observation getObservation() {
27
		return observation;
9 benjamin 28
	}
29
 
30
}