Subversion Repositories eFlore/Applications.del

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

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