How to quickly implement a delegate interface in Eclipse?

I only see two quick options for delegation.

One Source -> Generate Delegate Methods

. Thus, Eclipse implements all (or selected) delegate methods as delegate methods.

The other is Source -> Override/Implement Methods

. Thus, Eclipse implements all (or selected) methods of the interface as stub methods.

Both options are incomplete. First, it generates too many methods (it can generate those that are not in the interface). The second does not create good methods, only stubs.

Is it possible to combine both, i.e. generate all methods for the delegate principal but filter by interface?

+3
java eclipse code-generation delegates


source to share


No one has answered this question yet

Check out similar questions:

3799
How do I read / convert an InputStream to a string in Java?
3324
How to generate random integers in a specific range in Java?
2853
How can I convert String to int in Java?
1989
"implements Runnable" vs "extends Thread" in Java
1858
"Debug certificate expired" error in Android Eclipse plugins
1367
Fastest way to determine if an integer square root is an integer
1248
How can you speed up Eclipse?
1158
"Override superclass method" Errors after importing project into Eclipse
661
How do I create delegates in Objective-C?
122
Go to interface implementation in Eclipse IDE



All Articles
Loading...
X
Show
Funny
Dev
Pics