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

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


  protected void setUp() throws Exception {
    this.defect = new Type(ResourceBundleKey.ITEM_KEY_TYPE_DEFECT, 0);
    this.externalIssue = new Type(ResourceBundleKey.ITEM_KEY_TYPE_EXTERNAL_ISSUE, 1);
    this.question = new Type(ResourceBundleKey.ITEM_KEY_TYPE_QUESTION, 2);
    this.praise = new Type(ResourceBundleKey.ITEM_KEY_TYPE_PRAISE, 3);
    this.critical = new Severity(ResourceBundleKey.ITEM_KEY_SEVERITY_CRITICAL, 0);
    this.major = new Severity(ResourceBundleKey.ITEM_KEY_SEVERITY_MAJOR, 1);
    this.normal = new Severity(ResourceBundleKey.ITEM_KEY_SEVERITY_NORMAL, 2);
    this.minor = new Severity(ResourceBundleKey.ITEM_KEY_SEVERITY_MINOR, 3);
    this.trivial = new Severity(ResourceBundleKey.ITEM_KEY_SEVERITY_TRIVIAL, 4);
    String resolutionKey = ResourceBundleKey.ITEM_KEY_UNSET;
    this.unset = new Resolution(resolutionKey, 0);
    resolutionKey = ResourceBundleKey.ITEM_KEY_RESOLUTION_VALID_NEEDSFIXING;
    this.validNeedsfixing = new Resolution(resolutionKey, 1);
    resolutionKey = ResourceBundleKey.ITEM_KEY_RESOLUTION_VALID_FIXLATER;
View Full Code Here


    }
    ReviewModel reviewModel = ReviewModel.getInstance();
    IProject project = reviewModel.getProjectManager().getProject();
    ReviewId reviewId = reviewModel.getReviewIdManager().getReviewId();
    SeverityKeyManager manager = SeverityKeyManager.getInstance(project, reviewId);
    return new Severity(severityKey, manager.getOrdinal(severityKey));
  }
View Full Code Here

      ReviewId reviewId = reviewModel.getReviewIdManager().getReviewId();
      if (store.getBoolean(FilterPreferencePage.ENABLE_FILTER_SEVERITY_STORE_KEY)) {
        String severityKey = store.getString(FilterPreferencePage.FILTER_SEVERITY_COMBO_KEY);
        SeverityKeyManager severityKeyManager = SeverityKeyManager.getInstance(project, reviewId);
        int serverityOrdinal = severityKeyManager.getOrdinal(severityKey);
        filter.setSeverityFilter(new Severity(severityKey, serverityOrdinal));
      }
      if (store.getBoolean(FilterPreferencePage.ENABLE_FILTER_STATUS_STORE_KEY)) {
        String statusKey = store.getString(FilterPreferencePage.FILTER_STATUS_COMBO_KEY);
        StatusKeyManager statusKeyManager = StatusKeyManager.getInstance(project, reviewId);
        int statusOrdinal = statusKeyManager.getOrdinal(statusKey);
View Full Code Here

        filter.setTypeFilter(type);
      }
      entry = filterPhase.getFilterEntry(PropertyConstraints.ATTRIBUTE_VALUE_SEVERITY);
      if (entry != null && entry.isEnabled()) {
        SeverityKeyManager manager = SeverityKeyManager.getInstance(project, reviewId);
        Severity severity = (Severity) manager.getItemObject(entry.getValueKey());
        filter.setSeverityFilter(severity);
      }
      entry = filterPhase.getFilterEntry(PropertyConstraints.ATTRIBUTE_VALUE_ASSIGNED_TO);
      if (entry != null && entry.isEnabled()) {
        String assignedTo = entry.getValueKey();
View Full Code Here

TOP

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

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.