Rev 234 | Blame | Compare with Previous | Last modification | View Log | RSS feed
package org.tela_botanica.del.client.navigation.evenement.changementprotocole;
import org.tela_botanica.del.client.modeles.Protocole;
import com.google.gwt.event.shared.GwtEvent;
public class EvenementChangementProtocole extends GwtEvent<GestionnaireEvenementChangementProtocole> {
public static com.google.gwt.event.shared.GwtEvent.Type<GestionnaireEvenementChangementProtocole> TYPE = new com.google.gwt.event.shared.GwtEvent.Type<GestionnaireEvenementChangementProtocole>();
private Protocole protocole;
public EvenementChangementProtocole(Protocole protocole) {
this.protocole = protocole;
}
@Override
protected void dispatch(GestionnaireEvenementChangementProtocole handler) {
handler.onChangementProtocole(this);
}
@Override
public com.google.gwt.event.shared.GwtEvent.Type<GestionnaireEvenementChangementProtocole> getAssociatedType() {
return TYPE;
}
public Protocole getProtocole() {
return protocole;
}
public void setProtocole(Protocole protocole) {
this.protocole = protocole;
}
}