void (@NotNull CodeStyleScheme scheme) { if (Messages .showOkCancelDialog(ApplicationBundle.message("settings.code.style.reset.to.defaults.message"), ApplicationBundle.message("settings.code.style.reset.to.defaults.title"), LangBundle.message("button.restore"), CommonBundle.getCancelButtonText(), Messages.getQuestionIcon()) == Messages.OK) { getModel().restoreDefaults(scheme); } }