void (@NotNull SvnConfiguration configuration) { myCheckNestedInQuickMerge.setSelected(configuration.isCheckNestedForQuickMerge()); myIgnoreWhitespaceDifferenciesInCheckBox.setSelected(configuration.isIgnoreSpacesInAnnotate()); myShowMergeSourceInAnnotate.setSelected(configuration.isShowMergeSourcesInAnnotate()); final int annotateRevisions = configuration.getMaxAnnotateRevisions(); if (annotateRevisions == -1) { myMaximumNumberOfRevisionsCheckBox.setSelected(false); myNumRevsInAnnotations.setValue(SvnConfiguration.ourMaxAnnotateRevisionsDefault); } else { myMaximumNumberOfRevisionsCheckBox.setSelected(true); myNumRevsInAnnotations.setValue(annotateRevisions); } myNumRevsInAnnotations.setEnabled(myMaximumNumberOfRevisionsCheckBox.isSelected()); }