Subversion Repositories eFlore/Applications.del

Rev

Rev 210 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
178 benjamin 1
package org.tela_botanica.del.client.navigation.evenement.changementprotocole;
2
 
3
import org.tela_botanica.del.client.modeles.Protocole;
4
 
5
import com.google.gwt.event.shared.GwtEvent;
6
 
7
public class EvenementChangementProtocole extends GwtEvent<GestionnaireEvenementChangementProtocole> {
8
 
9
	public static com.google.gwt.event.shared.GwtEvent.Type<GestionnaireEvenementChangementProtocole> TYPE = new com.google.gwt.event.shared.GwtEvent.Type<GestionnaireEvenementChangementProtocole>();
10
	private Protocole protocole;
11
 
12
	public EvenementChangementProtocole(Protocole protocole) {
13
		this.protocole = protocole;
14
	}
15
 
16
	@Override
17
	protected void dispatch(GestionnaireEvenementChangementProtocole handler) {
18
		handler.onChangementProtocole(this);
19
	}
20
 
21
	@Override
22
	public com.google.gwt.event.shared.GwtEvent.Type<GestionnaireEvenementChangementProtocole> getAssociatedType() {
23
		return TYPE;
24
	}
25
 
26
	public Protocole getProtocole() {
27
		return protocole;
28
	}
29
 
30
	public void setProtocole(Protocole protocole) {
31
		this.protocole = protocole;
32
	}
33
 
34
}