I'm developing a plugin for Eclipse. I'd like it to suggest the user to save unsaved resources before running. This is in a similar behavior to how eclipse suggest you to save unsaved files before debugging.
In essence, I would like to open the following dialog:
Any help will be greatly appreciate.
If you hit alt-shift-F1 on that dialog, you will see which plugin it is in, and then you could either trigger that action, or call that code directly.
Using dplass's tip I reached this solution, which works perfectly. I'm putting it here for other people who might encounter this problem: