Package edu.hawaii.ics.csdl.jupiter.file

Examples of edu.hawaii.ics.csdl.jupiter.file.PrefResource


   *
   * @see AbstractUIPlugin
   */
  protected void initializeDefaultPreferences(IPreferenceStore store) {
    // Stores the preference page default values.
    PrefResource prefResource = PrefResource.getInstance();
    String enableUpdateStoreKey = GeneralPreferencePage.ENABLE_UPDATE_KEY;
    store.setDefault(enableUpdateStoreKey, prefResource.getEnableUpdate());
    String updateUrlStoreKey = GeneralPreferencePage.UPDATE_URL_KEY;
    store.setDefault(updateUrlStoreKey, prefResource.getUpdateUrl());
    store.setDefault(FilterPreferencePage.ENABLE_FILTER_STORE_KEY, prefResource.getEnableFilter());
  }
View Full Code Here


  public void init(IWorkbench workbench) {
    ReviewModel reviewModel = ReviewModel.getInstance();
    String reviewPhaseNameKey = reviewModel.getPhaseManager().getPhaseNameKey();
    ColumnDataModelManager columnDataModelManager = ColumnDataModelManager.getInstance();
    ColumnDataModel columnDataModel = columnDataModelManager.getModel(reviewPhaseNameKey);
    PrefResource configManager = PrefResource.getInstance();
    // Sets the initial phase to display in the view preference page.
    if (columnDataModel.allSize() <= 0) {
      this.reviewPhaseNameKey = configManager.getDefaultPhaseNameKey();
    }
    else {
      this.reviewPhaseNameKey = reviewPhaseNameKey;
    }
    this.tempReviewPhaseNameKey = this.reviewPhaseNameKey;
    String[] reviewPhaseNameKeys = configManager.getPhaseArray(true);
    this.reviewPhaseMap = new HashMap<String, List<ColumnData>>();
    for (int i = 0; i < reviewPhaseNameKeys.length; i++) {
      columnDataModel = columnDataModelManager.getModel(reviewPhaseNameKeys[i]);
      ColumnData[] columnDataArray = columnDataModel.getAllColumnDataArray();
      ArrayList<ColumnData> columnDataList = new ArrayList<ColumnData>(Arrays
View Full Code Here

TOP

Related Classes of edu.hawaii.ics.csdl.jupiter.file.PrefResource

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.