void (MavenGeneralSettings data) { data.beginUpdate(); data.setWorkOffline(checkboxWorkOffline.isSelected()); mavenPathsForm.setData(data); data.setPrintErrorStackTraces(checkboxProduceExceptionErrorMessages.isSelected()); data.setNonRecursive(!checkboxRecursive.isSelected()); data.setOutputLevel((MavenExecutionOptions.LoggingLevel)ComboBoxUtil.getSelectedValue(outputLevelComboModel)); data.setChecksumPolicy((MavenExecutionOptions.ChecksumPolicy)ComboBoxUtil.getSelectedValue(checksumPolicyComboModel)); data.setFailureBehavior((MavenExecutionOptions.FailureMode)ComboBoxUtil.getSelectedValue(failPolicyComboModel)); data.setAlwaysUpdateSnapshots(alwaysUpdateSnapshotsCheckBox.isSelected()); data.setThreads(threadsEditor.getText()); data.setShowDialogWithAdvancedSettings(showDialogWithAdvancedSettingsCheckBox.isSelected()); data.setUseMavenConfig(useMavenConfigCheckBox.isSelected()); data.endUpdate(); mavenConfigWarningLabel.setVisible(useMavenConfigCheckBox.isSelected() && isModifiedNotOverridableData(data)); }