Subversion Repositories eFlore/Applications.del

Rev

Rev 976 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
976 aurelien 1
package org.tela_botanica.del.client.navigation.evenement.suppressioncommentaire;
2
 
3
import org.tela_botanica.del.client.modeles.Commentaire;
4
import com.google.gwt.event.shared.GwtEvent;
5
 
6
public class EvenementSuppressionCommentaire extends GwtEvent<GestionnaireEvenementSuppressionCommentaire> {
7
 
8
	public static com.google.gwt.event.shared.GwtEvent.Type<GestionnaireEvenementSuppressionCommentaire> TYPE = new com.google.gwt.event.shared.GwtEvent.Type<GestionnaireEvenementSuppressionCommentaire>();
9
	private Commentaire commentaire;
10
 
11
	public EvenementSuppressionCommentaire(Commentaire commentaire) {
12
		this.commentaire = commentaire;
13
	}
14
 
15
	@Override
16
	protected void dispatch(GestionnaireEvenementSuppressionCommentaire handler) {
17
		handler.onSuppressionCommentaire(this);
18
	}
19
 
20
	@Override
21
	public com.google.gwt.event.shared.GwtEvent.Type<GestionnaireEvenementSuppressionCommentaire> getAssociatedType() {
22
		return TYPE;
23
	}
24
 
25
	public Commentaire getCommentaire() {
26
		return commentaire;
27
	}
28
 
29
	public void setPropositionDetermination(Commentaire commentaire) {
30
		this.commentaire = commentaire;
31
	}
32
 
33
}