Subversion Repositories eFlore/Applications.del

Rev

Rev 9 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 9 Rev 14
Line 1... Line 1...
1
package org.tela_botanica.del.client.navigation.event.validateobservation;
1
package org.tela_botanica.del.client.navigation.event.validationobservation;
Line 2... Line 2...
2
 
2
 
Line 3... Line 3...
3
import org.tela_botanica.del.client.modeles.Observation;
3
import org.tela_botanica.del.client.modeles.Observation;
Line 4... Line 4...
4
 
4
 
Line 5... Line 5...
5
import com.google.gwt.event.shared.GwtEvent;
5
import com.google.gwt.event.shared.GwtEvent;
Line 6... Line 6...
6
 
6
 
Line 7... Line 7...
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>();
Line 10... Line 10...
10
 
10
 
11
	private final Observation observation;
11
	private final Observation observation;
12
 
12
 
13
	public ValidateImageEvent(Observation observation) {
13
	public EvenementValidation(Observation observation) {
Line 14... Line 14...
14
		this.observation = observation;
14
		this.observation = observation;
15
	}
15
	}
16
 
16
 
17
	@Override
17
	@Override
Line 18... Line 18...
18
	protected void dispatch(ValidateImageEventHandler handler) {
18
	protected void dispatch(GestionnaireEvenementValidation handler) {
19
		handler.onValidateImage(this);
19
		handler.onValidateImage(this);