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