Subversion Repositories eFlore/Applications.del

Rev

Details | 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
 
147 benjamin 3
import org.tela_botanica.del.client.modeles.Image;
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>();
9 benjamin 10
 
147 benjamin 11
	private final Image image;
9 benjamin 12
 
147 benjamin 13
	public EvenementValidation(Image image) {
14
		this.image = image;
9 benjamin 15
	}
16
 
17
	@Override
14 benjamin 18
	protected void dispatch(GestionnaireEvenementValidation handler) {
73 benjamin 19
		handler.onValidationImage(this);
9 benjamin 20
	}
21
 
22
	@Override
14 benjamin 23
	public com.google.gwt.event.shared.GwtEvent.Type<GestionnaireEvenementValidation> getAssociatedType() {
9 benjamin 24
		return TYPE;
25
	}
26
 
147 benjamin 27
	public Image getImage() {
28
		return image;
9 benjamin 29
	}
30
 
31
}