This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 127741

Summary: encapsulate fields missing "select all" in nb 6.0?
Product: editor Reporter: eboller <eboller>
Component: RefactoringAssignee: Daniel Prusa <dprusa>
Status: RESOLVED DUPLICATE    
Severity: blocker CC: tomwheeler
Priority: P3    
Version: 6.x   
Hardware: All   
OS: Windows XP   
Issue Type: ENHANCEMENT Exception Reporter:

Description eboller 2008-02-19 14:08:33 UTC
In netbeans 5.5 and lower there was the ability to select an individual field to encapsulate (by having the cursor in
the field name) or select all by having the cursor outside of the fields.  In Netbeans 6.0 there doesn't appear to be a
way of doing a "select all" for the fields to encapsulate.  Having the ability to "select all" fields to encapsulate was
an extremely nice feature that I'm not sure why it was removed.  Perhaps in the checkbox dialog there could be a
checkbox above the checkbox columns in order to do a "select all", rather than having to select each individual getter
and setter ( a real pain if you have a lot of fields on a new class)
Comment 1 Daniel Prusa 2008-02-19 14:19:19 UTC
We should implement the functionality that was in nb 5.5, i.e. selecting all fields when having the cursor outside of
the fields.
Comment 2 tomwheeler 2008-03-31 19:41:20 UTC
I agree -- it's quite tedious to select every single checkbox when creating getters and setters for a class with many
fields.
Comment 3 tomwheeler 2008-03-31 19:41:26 UTC
I agree -- it's quite tedious to select every single checkbox when creating getters and setters for a class with many
fields.
Comment 4 Jan Pokorsky 2008-04-28 17:22:44 UTC

*** This issue has been marked as a duplicate of 118849 ***