Simple Dialog Action
class SimpleDialogAction(val name: String, val action: (ActionEvent, DialogWrapper) -> Unit) : DialogBuilder.ActionDescriptor(source)
An action that can be run from a dialog button.
Parameters
name
the name of the action
action
the code to execute when the action is run