Subversion Repositories eFlore/Applications.del

Rev

Rev 1196 | Details | Compare with Previous | 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.event.shared.GwtEvent;
6
 
7
public class EvenementValidationPictoflora extends GwtEvent<GestionnaireEvenementValidationPictoflora> {
8
 
9
	public static com.google.gwt.event.shared.GwtEvent.Type<GestionnaireEvenementValidationPictoflora> TYPE = new com.google.gwt.event.shared.GwtEvent.Type<GestionnaireEvenementValidationPictoflora>();
10
	private final Observation observation;
11
 
12
	public EvenementValidationPictoflora(Observation observation) {
13
		this.observation = observation;
14
	}
15
 
16
	@Override
17
	protected void dispatch(GestionnaireEvenementValidationPictoflora handler) {
18
		handler.onValidationObservation(this);
19
	}
20
 
21
	@Override
22
	public com.google.gwt.event.shared.GwtEvent.Type<GestionnaireEvenementValidationPictoflora> getAssociatedType() {
23
		return TYPE;
24
	}
25
 
26
	public Observation getObservation() {
27
		return observation;
28
	}
29
 
30
}