String (Project project, String message, String title, String initialValue, Icon icon, @Nullable InputValidator validator) { if (isApplicationInUnitTestOrHeadless()) { return TestDialogManager.getTestInputImplementation().show(message, validator); } InputDialog dialog = new MessageMultilineInputDialog(project, message, title, icon, initialValue, validator, new String[]{getOkButton(), getCancelButton()}, 0); dialog.show(); return dialog.getInputString(); }