Examples of ReviewIssue


Examples of edu.hawaii.ics.csdl.jupiter.model.reviewissue.ReviewIssue

   *
   * @throws Exception if problems occur.
   */
  protected void setUp() throws Exception {
    super.setUp();
    codeReviews.add(new ReviewIssue(new Date(), new Date(), "fooReviewer", "fooRespondent",
        "doc/review/foo/bar/Baz.java", "10", praise, major,
        "This is summary.", "This is nice method!", "This is annotation for review.",
        "This is revision comment.", validFixlater, unresolved, null));
    codeReviews.add(new ReviewIssue(new Date(), new Date(), "barReviewer", "barRespondent",
        "doc/review/bar/baz/Foo.java", "20", defect, minor,
        "This is summary.", "Should throw Exception.", "This is annotation for review.",
        "This is revision comment.", validNeedsfixing, resolved, null));
    codeReviews.add(new ReviewIssue(new Date(), new Date(), "bazReviewer", "bazRespondent",
        "doc/review/baz/foo/Bar.java", "30", question, trivial,
        "This is summary", "is this method needed?", "This is annotation for review.",
        "This is revision comment.", unset, unresolved, null));
  }
View Full Code Here

Examples of edu.hawaii.ics.csdl.jupiter.model.reviewissue.ReviewIssue

      ResolutionKeyManager resolutionKeyManager = ResolutionKeyManager.getInstance(project,
                                                                                   reviewId);
      StatusKeyManager statusKeyManager = StatusKeyManager.getInstance(project, reviewId);
      String resolutionKey = resolutionKeyManager.getKey(resolutionCombo.getText());
      String severityKey = severityKeyManager.getKey(severityCombo.getText());
      return new ReviewIssue(this.reviewIssue.getCreationDate(), new Date(),
            this.reviewIssue.getReviewer(), this.assignedToCombo.getText(),
            this.reviewIssue.getTargetFile(), this.reviewIssue.getLine(),
            (Type) typeKeyManager.getItemObject(typeKeyManager.getKey(typeCombo.getText())),
            (Severity) severityKeyManager.getItemObject(severityKey),
            this.summaryText.getText(),
View Full Code Here

Examples of edu.hawaii.ics.csdl.jupiter.model.reviewissue.ReviewIssue

  public void setNewEmptyReviewIssue(IFile iReviewFile) throws ReviewException {
    ReviewModel reviewModel = ReviewModel.getInstance();
    IProject project = reviewModel.getProjectManager().getProject();
    ReviewId reviewId = reviewModel.getReviewIdManager().getReviewId();
    ReviewerId reviewerId = reviewModel.getReviewerIdManager().getReviewerId();
    ReviewIssue reviewIssue = new ReviewIssue(new Date(), new Date(), reviewerId.getReviewerId(),
        "", "", "", (Type) TypeKeyManager.getInstance(project, reviewId).getItem(0),
        (Severity) SeverityKeyManager.getInstance(project, reviewId).getItem(0), "", "", "", "",
        (Resolution) ResolutionKeyManager.getInstance(project, reviewId).getItem(0),
        (Status) StatusKeyManager.getInstance(project, reviewId).getItem(0), iReviewFile);
    ReviewEditorViewAction.NEXT.setEnabled(false);
    ReviewEditorViewAction.PREVIOUS.setEnabled(false);
    this.setReviewIssue(reviewIssue);
    EventFileManager.getInstance().setEventFilePath(reviewIssue.getTargetFile());
 
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.