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
9
10
11
12
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 }