TrayDialog
is a specialized Dialog
that can contain a tray on its side. The tray's content is provided as a DialogTray
. It is recommended to subclass this class instead of Dialog
in all cases except where the dialog should never show a tray. For example, dialogs which are very short, simple, and quick to dismiss (e.g. a message dialog with an OK button) should subclass Dialog
.
Note: Trays are not supported on dialogs that use a custom layout on the Shell
by overriding Window#getLayout()
.
|
|