protected void resetSeverities() {
   IEclipsePreferences defaultContext = new DefaultScope().getNode(getPreferenceNodeQualifier());
   for (int i = 0; i < fCombos.size(); i++) {
     ComboData data = (ComboData) ((Combo) fCombos.get(i)).getData();
     int severity = defaultContext.getInt(data.getKey(), ValidationMessage.WARNING);
     data.setSeverity(severity);
     ((Combo) fCombos.get(i)).select(data.getIndex());
   }
 }
  /*
   * (non-Javadoc)
   * @see org.eclipse.wst.sse.ui.internal.preferences.ui.AbstractSettingsPage#storeValues()
   */
  protected void storeValues() {
    if (fCombos == null || fCombos.size() == 0) return;

    Iterator it = fCombos.iterator();

    IScopeContext[] contexts = createPreferenceScopes();

    while (it.hasNext()) {
      ComboData data = (ComboData) ((Combo) it.next()).getData();
      if (data.getKey() != null) {
        contexts[0].getNode(getPreferenceNodeQualifier()).putInt(data.getKey(), data.getSeverity());
        data.originalSeverity = data.getSeverity();
      }
    }

    for (int i = 0; i < contexts.length; i++) {
      try {
        contexts[i].getNode(getPreferenceNodeQualifier()).flush();
      } catch (BackingStoreException e) {

      }
    }
  }