protected void applySettingsToModel() {
    if (mySettings instanceof CodeStyleSchemesModel.ModelSettings && ((CodeStyleSchemesModel.ModelSettings)mySettings).isLocked()) return;
    try {
      if (myModel != null && myModel.isUiEventsEnabled()) {
        apply(mySettings);
        myModel.fireAfterCurrentSettingsChanged();
      }
    }
    catch (ConfigurationException ignore) {
    }
  }
protected void applySettingsToModel()