jmix
jmix copied to clipboard
Builders in Dialogs bean should return Dialog instance when it is opened
Description
It would be great to have method that return opened dialog instance from OptionDialogBuilder, MessageDialogBuilder, etc.
The return dialog can be further configured and can be closed programmatically.
Possible solutions
- Provide method
build()that will returnDialog. - Make
open()method returnDialog.