Project: JDT
Bug 173018 [getter setter] GetterSetter dialog: wrong checked state
Reported: 2007-02-06 05:42:08 | Status: resolved fixed

I20070206-0010. 1. open the GetterSetters dialog on a final field 2. check the 'Allow setters for..." ==> parent is white-checked but there are unchecked children Side Note: when a user checks that option you can probably assume that he wants to generate the setters and hence you could simply check them for the user. Other Test Case: 1. open the GetterSetters dialog on a final field 2. check the 'Allow setters for..." 3. generate some setters 4. open the GetterSetters dialog on another final field 5. observe: setters there - everything checked 6. uncheck the 'Allow setters for..." 7. check the 'Allow setters for..." ==> state from step 5 lost: setter(s) will no longer be generated

Files changed in fix:
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/AddGetterSetterAction.java