Subversion Repositories eFlore/Applications.del

Rev

Rev 9 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

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