159 |
benjamin |
1 |
package org.tela_botanica.del.client.navigation.evenement.ajoutdetermination;
|
|
|
2 |
|
|
|
3 |
import org.tela_botanica.del.client.modeles.PropositionDetermination;
|
|
|
4 |
|
|
|
5 |
import com.google.gwt.event.shared.GwtEvent;
|
|
|
6 |
|
|
|
7 |
public class EvenementAjoutDetermination extends GwtEvent<GestionnaireEvenementAjoutDetermination> {
|
|
|
8 |
|
|
|
9 |
public static com.google.gwt.event.shared.GwtEvent.Type<GestionnaireEvenementAjoutDetermination> TYPE = new com.google.gwt.event.shared.GwtEvent.Type<GestionnaireEvenementAjoutDetermination>();
|
|
|
10 |
private PropositionDetermination propositionDetermination;
|
|
|
11 |
|
|
|
12 |
public EvenementAjoutDetermination(PropositionDetermination propositionDetermination) {
|
|
|
13 |
this.propositionDetermination = propositionDetermination;
|
|
|
14 |
}
|
|
|
15 |
|
|
|
16 |
@Override
|
|
|
17 |
protected void dispatch(GestionnaireEvenementAjoutDetermination handler) {
|
|
|
18 |
handler.onAjoutDetermination(this);
|
|
|
19 |
}
|
|
|
20 |
|
|
|
21 |
@Override
|
|
|
22 |
public com.google.gwt.event.shared.GwtEvent.Type<GestionnaireEvenementAjoutDetermination> getAssociatedType() {
|
|
|
23 |
return TYPE;
|
|
|
24 |
}
|
|
|
25 |
|
|
|
26 |
public PropositionDetermination getPropositionDetermination() {
|
|
|
27 |
return propositionDetermination;
|
|
|
28 |
}
|
|
|
29 |
|
|
|
30 |
public void setPropositionDetermination(PropositionDetermination propositionDetermination) {
|
|
|
31 |
this.propositionDetermination = propositionDetermination;
|
|
|
32 |
}
|
|
|
33 |
|
|
|
34 |
}
|