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 95721 - Import the parameters' classes when the user choose abstract all method after implement interface
Summary: Import the parameters' classes when the user choose abstract all method after...
Status: RESOLVED WORKSFORME
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-15 16:44 UTC by mohammedpascal
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mohammedpascal 2007-02-15 16:44:29 UTC
When a user implements an interface the NetBeans IDE shows a hint says:
"Implement all abstract methods", if the user accepts this suggestion NetBeans
will implement all abstract methods as empty.

It will be a good enhancement if NetBeans automatically imports all the
parameters(of course only parameters as java classes) of the implemented
methods. In other words, automatically import any class that is a parameter of
one of the interface methods.
Comment 1 Jiri Prox 2007-02-15 17:04:45 UTC
Which build of 5.5 do you use? It works for me in 5.5 fcs. Can you provide a
code sample when it doesn't add all necessary imports?
Comment 2 Jan Becicka 2007-09-19 17:42:22 UTC
It works for me.