Examples of DraftInput


Examples of com.google.gerrit.extensions.api.changes.DraftInput

            reviewTextField.setText(commentToEdit.message);
        }
    }

    private DraftInput createComment() {
        DraftInput comment = new DraftInput();

        comment.message = getText();
        comment.path = PathUtils.ensureSlashSeparators(filePath);
        comment.side = commentSide;
View Full Code Here

Examples of com.google.gerrit.extensions.api.changes.DraftInput

        final CommentForm commentForm = new CommentForm(project, editor, filePath, commentSide, commentToEdit);
        final JBPopup balloon = commentBalloonBuilder.getNewCommentBalloon(commentForm, "Comment");
        balloon.addListener(new JBPopupAdapter() {
            @Override
            public void onClosed(LightweightWindowEvent event) {
                DraftInput comment = commentForm.getComment();
                if (comment != null) {
                    handleComment(comment, project);
                }
            }
        });
View Full Code Here

Examples of com.google.gerrit.extensions.api.changes.DraftInput

        this.revisionId = revisionId;
    }

    @Override
    public void actionPerformed(AnActionEvent e) {
        final DraftInput comment = new DraftInput();
        comment.inReplyTo = fileComment.id;
        comment.message = "Done";
        comment.line = fileComment.line;
        comment.path = fileComment.path;
        comment.side = fileComment.side;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.