This week's book giveaways are in the iOS and Features new in Java 8 forums. We're giving away four copies each of Barcodes with iOS: Bringing together the digital and physical worlds and Core Java for the Impatient and have the authors on-line! See this thread and this one for details.
Basically, I want to implement the following functionality:
When the user wants to close the window by clicking X button, I wish to popup a message saying "do you wish to save your crap, YES | NO | CANCEL". I did this by adding a disposeListener on the shell...
Now I am trying to figure out how to prevent disposal of the shell in case the user clicks "CANCEL"... Any ideas?
Well, inside of Eclipse, you can pick Help | Help Contents, and then in the help viewer open "Platform Plug-in Developer Guide", then Reference, then API Reference, and you've got the whole org.eclipse Javadoc tree. I'm sure there's a separate download somewhere, but I can't tell you where off the top of my head.
But I actually rarely look at it -- I tend to just look at the platform source.