void (CopyrightProfile copyrightProfile) { final String profileName = askForProfileName(CopyrightBundle.message("import.copyright.profile"), copyrightProfile.getName()); if (profileName == null) return; copyrightProfile.setName(profileName); addProfileNode(copyrightProfile); Messages.showInfoMessage(myProject, CopyrightBundle.message("dialog.message.the.copyright.settings.imported"), CopyrightBundle.message("dialog.title.import.complete")); }