void () { if (!myValidator.isOK(this)) { return; } if (myCbIsFinal.isEnabled()) { GroovyApplicationSettings.getInstance().INTRODUCE_LOCAL_CREATE_FINALS = myCbIsFinal.isSelected(); } GroovyApplicationSettings.getInstance().INTRODUCE_LOCAL_SELECT_DEF = (myTypeComboBox.getSelectedType() == null); super.doOKAction(); }