public boolean performOk() {
    boolean result = super.performOk();

    doSavePreferenceStore();

    // Save values from inline elements
    HTMLFormattingUtil.exportToPreferences(fContentProvider.fElements.toArray());

    return result;
  }
 public void restoreDefaults() {
   fElements = new ArrayList(Arrays.asList(HTMLFormattingUtil.getDefaultInlineElements()));
 }
 public ContentProvider() {
   fElements = new ArrayList(Arrays.asList(HTMLFormattingUtil.getInlineElements()));
 }