boolean () { List<Path> files = getReadOnlyFiles(); if (!files.isEmpty()) { final String message = IdeBundle.message("message.text.unlock.read.only.files", ApplicationNamesInfo.getInstance().getFullProductName(), getFilesString(files)); final String[] options = {CommonBundle.getContinueButtonText(), CommonBundle.getCancelButtonText()}; if (Messages.showOkCancelDialog(myMainPanel, message, IdeBundle.message("dialog.title.convert.project"), options[0], options[1], null) != Messages.OK) { return false; } unlockFiles(files); files = getReadOnlyFiles(); if (!files.isEmpty()) { showErrorMessage(IdeBundle.message("error.message.cannot.make.files.writable", getFilesString(files))); return false; } } return true; }