Package edu.hawaii.ics.csdl.jupiter.model.reviewissue

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


  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

Related Classes of edu.hawaii.ics.csdl.jupiter.model.reviewissue.ReviewIssue

Copyright © 2018 www.massapicom. 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.