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 51919 - [40cat] Select fields to be encapsulated from the cursor selection
Summary: [40cat] Select fields to be encapsulated from the cursor selection
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 4.x
Hardware: All All
: P2 blocker (vote)
Assignee: Jan Becicka
URL:
Keywords:
: 63112 64784 (view as bug list)
Depends on:
Blocks: 100758
  Show dependency tree
 
Reported: 2004-11-29 16:48 UTC by hopeless
Modified: 2011-06-16 19:58 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description hopeless 2004-11-29 16:48:37 UTC
[ BUILD # : 200411231853 ]
[ JDK VERSION : J2SE 1.5.0 ]

If you put the cursor over a field in the code
editor, right-click and select
refactor->Encapsulate Fields... the field is the
only one selected.  If you place the cursor in the
body of the class, all the fields are selected for
encapsulation. 

A middle road would be nice: Select a range of
fields in the editor, right-click and have only
those fields selected in the encapsulation dialog.
Comment 1 Jan Becicka 2005-12-07 07:48:21 UTC
*** Issue 69956 has been marked as a duplicate of this issue. ***
Comment 2 Jan Pokorsky 2007-10-15 13:42:19 UTC
*** Issue 63112 has been marked as a duplicate of this issue. ***
Comment 3 Jan Pokorsky 2007-10-15 13:44:37 UTC
*** Issue 64784 has been marked as a duplicate of this issue. ***
Comment 4 Jan Pokorsky 2007-10-15 13:52:06 UTC
Increasing priority since it seems there is a demand for this feature.
Comment 5 Jan Becicka 2011-06-15 14:47:54 UTC
Changeset: http://hg.netbeans.org/jet-main/rev/331688c7b104
Author:    Jan Becicka <jbecicka@netbeans.org>
Date:      2011-06-15 16:44
Message:   
Issue #51919 - [40cat] Select fields to be encapsulated from the cursor selection
Comment 6 Quality Engineering 2011-06-16 19:58:58 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/331688c7b104
User: Jan Becicka <jbecicka@netbeans.org>
Log: Issue #51919 - [40cat] Select fields to be encapsulated from the cursor selection