private static void resetStore(IPreferenceStore store,String prefix){
  int start=0;
  while (start < 99) {
    String name=prefix + start;
    if (store.contains(name)) {
      store.setToDefault(name);
    }
 else {
      break;
    }
    start++;
  }
}

private static void resetStore ( IPreferenceStore store , String prefix ) { int start = 0 ; while ( start < 99 ) { String name = prefix + start ; if ( store . contains ( name ) ) { store . setToDefault ( name ) ; } else { break ; } start ++ ; } }
removes all consequent enumerated keys from given store staring with given prefix
