Subversion Repositories eFlore/Applications.del

Rev

Rev 210 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

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