public void apply() throws ConfigurationException {
   final WebEditorOptions xmlEditorOptions = WebEditorOptions.getInstance();
   xmlEditorOptions.setAutomaticallyInsertClosingTag(
       myAutomaticallyInsertClosingTagCheckBox.isSelected());
   xmlEditorOptions.setAutomaticallyInsertRequiredAttributes(
       myAutomaticallyInsertRequiredAttributesCheckBox.isSelected());
   xmlEditorOptions.setAutomaticallyInsertRequiredSubTags(
       myAutomaticallyInsertRequiredSubTagsCheckBox.isSelected());
   xmlEditorOptions.setAutomaticallyStartAttribute(
       myAutomaticallyStartAttributeAfterCheckBox.isSelected());
 }