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 96588 - Implement all abstract methods with delegate to another object
Summary: Implement all abstract methods with delegate to another object
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Hints (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-26 14:58 UTC by tprochazka
Modified: 2013-10-05 14:05 UTC (History)
1 user (show)

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 tprochazka 2007-02-26 14:58:40 UTC
Netbeas 6M7 has new generator for delegate methods, what about use it for hint 
in this situations:

public class Example implements org.jdesktop.swingx.event.MessageSource {

    private MessageSourceSupport messageSupport;
    
    public Example() {
         messageSupport = new MessageSourceSupport(this);
    }
}


When I use alt+enter NB suggest me to implement all abstract methods.
What about add here also item which use Delegate generator if Netbeans found 
some object which has necessary methods. 

I think, that this is useful function, which doesn't have any other Editor.