If you want add some confirmation dialogs to your rcp project, you should look at MessageDialogWithToggle jface component. By using this component, you can save user's preferences for the next time your window open. So user can choose not to being prompted anymore. You can do a message dialog like Eclipse's Confirm Exit message dialog which contains a checkbox ( "Always Exit Without Prompt"). Or simply you can use this component to add a checkbox to MessageDialog component.
MessageDialogWithToggle source
Monday, July 28, 2008
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment