Java/RCP – okPressed in JFace dialog
Sometimes JFace and RCP are not straightforward. At least not for me. For example the JFace dialog: It features an OK and Cancel button by default. If you want to do something when the user clicks the OK button, for example save the values from control elements to variables, you can overwrite the "okPressed" method: …