void () { myManager.setDefaultCopyright((CopyrightProfile)myProfilesComboBox.getSelectedItem()); myManager.clearMappings(); for (ScopeSetting scopeSetting : myScopeMappingModel.getItems()) { myManager.mapCopyright(scopeSetting.getScope().getScopeId(), scopeSetting.getProfileName()); } }