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 |
|
|
|
11 |
private PropositionDetermination propositionDetermination;
|
|
|
12 |
|
|
|
13 |
public EvenementAjoutDetermination(PropositionDetermination propositionDetermination) {
|
|
|
14 |
this.propositionDetermination = propositionDetermination;
|
|
|
15 |
}
|
|
|
16 |
|
|
|
17 |
@Override
|
|
|
18 |
protected void dispatch(GestionnaireEvenementAjoutDetermination handler) {
|
|
|
19 |
handler.onAjoutDetermination(this);
|
|
|
20 |
}
|
|
|
21 |
|
|
|
22 |
@Override
|
|
|
23 |
public com.google.gwt.event.shared.GwtEvent.Type<GestionnaireEvenementAjoutDetermination> getAssociatedType() {
|
|
|
24 |
return TYPE;
|
|
|
25 |
}
|
|
|
26 |
|
|
|
27 |
public PropositionDetermination getPropositionDetermination() {
|
|
|
28 |
return propositionDetermination;
|
|
|
29 |
}
|
|
|
30 |
|
|
|
31 |
public void setPropositionDetermination(PropositionDetermination propositionDetermination) {
|
|
|
32 |
this.propositionDetermination = propositionDetermination;
|
|
|
33 |
}
|
|
|
34 |
|
|
|
35 |
}
|