Community
Participate
Working Groups
I have implemented a property page and if I encounter an error while trying to save my data I return false from performOk(). In the okPressed() method in PreferenceDialog.java, performOk() is called for each page. If a page returns false from performOk()then the calling of performOk() stops and the dialog is closed. I believe that the dialog should not close if a page returns false from performOk(). This can result in the loss of data.
This is actually a bug - any false should cancel this.
*** This bug has been marked as a duplicate of 75988 ***