开发者

SWT-File-Save-dialog: how to show overwrite-confirmation

开发者 https://www.devze.com 2023-02-05 18:10 出处:网络
Is it possible to show a overwrite-confirmation while the开发者_如何学Go SWT file-save-dialog is shown and the user selected an existing file? Of course, I can show the file-save-dialog and later show

Is it possible to show a overwrite-confirmation while the开发者_如何学Go SWT file-save-dialog is shown and the user selected an existing file? Of course, I can show the file-save-dialog and later show a confirmation dialog, but this would be bad design.


FileDialog has setOverwrite method, you could use that.

0

精彩评论

暂无评论...
验证码 换一张
取 消