askYesNo

fun askYesNo(project: Project?, title: String, message: String = ""): Boolean(source)

Shows a simple yes/no modal dialog and returns true if and only if the user clicked yes.

Parameters

project

the project in which the dialog should be displayed

title

the title to display in the title bar

message

the message to display inside the dialog