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 46113 - Implementation of Encapsulate fields differs from UI-spec
Summary: Implementation of Encapsulate fields differs from UI-spec
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 4.x
Hardware: PC Windows ME/2000
: P2 blocker (vote)
Assignee: Pavel Flaska
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-14 08:57 UTC by Jaromir Uhrik
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshot of Error (4.66 KB, image/png)
2004-07-14 08:58 UTC, Jaromir Uhrik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jaromir Uhrik 2004-07-14 08:57:32 UTC
[200407131800; j2sdk1.4.2_05]
Error when Refactor->Encapsulate Fields from class
node or from e.g. main method in source editor. 
See UI specification:
http://ui.netbeans.org/docs/hi/javamdr/refactoring_design.html

The action is disabled on .java node in explorer -
IMHO it should be enabled too.
Comment 1 Jaromir Uhrik 2004-07-14 08:58:25 UTC
Created attachment 16233 [details]
Screenshot of Error
Comment 2 Pavel Flaska 2004-07-15 14:19:30 UTC
Checking in src/org/netbeans/modules/refactoring/api/Bundle.properties;
/cvs/refactoring/src/org/netbeans/modules/refactoring/api/Bundle.properties,v
 <--  Bundle.properties
new revision: 1.8; previous revision: 1.7
done
Checking in
src/org/netbeans/modules/refactoring/api/EncapsulateFields.java;
/cvs/refactoring/src/org/netbeans/modules/refactoring/api/EncapsulateFields.java,v
 <--  EncapsulateFields.java
new revision: 1.6; previous revision: 1.5
done
Processing log script arguments...
More commits to come...
Checking in
src/org/netbeans/modules/refactoring/ui/EncapsulateFieldPanel.java;
/cvs/refactoring/src/org/netbeans/modules/refactoring/ui/EncapsulateFieldPanel.java,v
 <--  EncapsulateFieldPanel.java
new revision: 1.5; previous revision: 1.4
done
Checking in
src/org/netbeans/modules/refactoring/ui/EncapsulateFieldUI.java;
/cvs/refactoring/src/org/netbeans/modules/refactoring/ui/EncapsulateFieldUI.java,v
 <--  EncapsulateFieldUI.java
new revision: 1.4; previous revision: 1.3
done
Comment 3 Jaromir Uhrik 2004-08-17 10:23:48 UTC
[200408170540; jdk1.5.0-rc-b63]
Still reproducible Error when Refactor->Encapsulate Fields e.g. main
method in source editor. The action is disabled on .java node in
explorer too. The only thing that is resolved is that I can do
Refactor->Encapsulate Fields from the class node.
Comment 4 Jaromir Uhrik 2004-08-17 11:42:24 UTC
After discussion with Tomas Hurka I know more now. There seems to be
just a little problem now (issue #47304). I am returning this one back
to Resolved - fixed.
Comment 5 Jaromir Uhrik 2004-08-17 11:55:02 UTC
Verified.
Comment 6 Quality Engineering 2007-09-20 09:52:35 UTC
Reorganization of java component