View Javadoc

1   package com.atlassian.theplugin.idea.crucible.events;
2   
3   import com.atlassian.theplugin.idea.crucible.ReviewDataInfoAdapter;
4   import com.atlassian.theplugin.idea.crucible.comments.CrucibleReviewActionListener;
5   import com.atlassian.theplugin.commons.crucible.api.model.GeneralComment;
6   
7   /**
8    * Created by IntelliJ IDEA.
9    * User: lguminski
10   * Date: Jun 18, 2008
11   * Time: 11:50:45 PM
12   * To change this template use File | Settings | File Templates.
13   */
14  public class FocusOnGeneralCommentReplyEvent extends CrucibleEvent {
15  	private ReviewDataInfoAdapter reviewDataInfoAdapter;
16  	private GeneralComment comment;
17  
18  	public FocusOnGeneralCommentReplyEvent(CrucibleReviewActionListener caller, ReviewDataInfoAdapter reviewDataInfoAdapter, GeneralComment comment) {
19  		super(caller);
20  		this.reviewDataInfoAdapter = reviewDataInfoAdapter;
21  		this.comment = comment;
22  	}
23  
24  	protected void notify(CrucibleReviewActionListener listener) {
25  		listener.showGeneralCommentReply(reviewDataInfoAdapter, comment);
26  	}
27  }