190 |
aurelien |
1 |
package org.tela_botanica.del.client.navigation.evenement.voteDetermination;
|
|
|
2 |
|
248 |
aurelien |
3 |
import org.tela_botanica.del.client.modeles.VoteDetermination;
|
190 |
aurelien |
4 |
|
248 |
aurelien |
5 |
import com.google.gwt.event.shared.GwtEvent;
|
|
|
6 |
|
|
|
7 |
public class EvenementVoteDetermination extends GwtEvent<GestionnaireEvenementVoteDetermination> {
|
|
|
8 |
|
|
|
9 |
public static com.google.gwt.event.shared.GwtEvent.Type<GestionnaireEvenementVoteDetermination> TYPE = new com.google.gwt.event.shared.GwtEvent.Type<GestionnaireEvenementVoteDetermination>();
|
|
|
10 |
private VoteDetermination voteDetermination;
|
|
|
11 |
|
|
|
12 |
public EvenementVoteDetermination(VoteDetermination voteDetermination) {
|
|
|
13 |
this.voteDetermination = voteDetermination;
|
|
|
14 |
}
|
|
|
15 |
|
|
|
16 |
@Override
|
|
|
17 |
protected void dispatch(GestionnaireEvenementVoteDetermination handler) {
|
|
|
18 |
handler.onVoteDetermination(this.getVoteDetermination());
|
|
|
19 |
}
|
|
|
20 |
|
|
|
21 |
@Override
|
|
|
22 |
public com.google.gwt.event.shared.GwtEvent.Type<GestionnaireEvenementVoteDetermination> getAssociatedType() {
|
|
|
23 |
return TYPE;
|
|
|
24 |
}
|
|
|
25 |
|
|
|
26 |
public VoteDetermination getVoteDetermination() {
|
|
|
27 |
return voteDetermination;
|
|
|
28 |
}
|
|
|
29 |
|
|
|
30 |
public void setVoteDetermination(VoteDetermination voteDetermination) {
|
|
|
31 |
this.voteDetermination = voteDetermination;
|
|
|
32 |
}
|
190 |
aurelien |
33 |
}
|