New file |
0,0 → 1,33 |
package org.tela_botanica.del.client.navigation.evenement.ajoutcommentaire; |
|
import org.tela_botanica.del.client.modeles.Commentaire; |
import com.google.gwt.event.shared.GwtEvent; |
|
public class EvenementAjoutCommentaire extends GwtEvent<GestionnaireEvenementAjoutCommentaire> { |
|
public static com.google.gwt.event.shared.GwtEvent.Type<GestionnaireEvenementAjoutCommentaire> TYPE = new com.google.gwt.event.shared.GwtEvent.Type<GestionnaireEvenementAjoutCommentaire>(); |
private Commentaire commentaire; |
|
public EvenementAjoutCommentaire(Commentaire commentaire) { |
this.commentaire = commentaire; |
} |
|
@Override |
protected void dispatch(GestionnaireEvenementAjoutCommentaire handler) { |
handler.onAjoutCommentaire(this); |
} |
|
@Override |
public com.google.gwt.event.shared.GwtEvent.Type<GestionnaireEvenementAjoutCommentaire> getAssociatedType() { |
return TYPE; |
} |
|
public Commentaire getCommentaire() { |
return commentaire; |
} |
|
public void setPropositionDetermination(Commentaire commentaire) { |
this.commentaire = commentaire; |
} |
|
} |