Bug 500022 - [1.8][generate delegate] option to deselect inherited methods
Summary: [1.8][generate delegate] option to deselect inherited methods
Status: NEW
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.7   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-20 07:21 EDT by Stephan Herrmann CLA
Modified: 2016-08-20 07:21 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stephan Herrmann CLA 2016-08-20 07:21:09 EDT
The dialog for configuring the "Generate Delegate Methods ..." action has two buttons "Select All" & "Deselect All". Here I suggest to add a button "Deselect Inherited" so a user can avoid generating methods for which an implementation is already available via inheritance.

This would be particularly useful for the scenario of implementing an interface by delegating to a particular implementation: here the interface may provide default methods that provide convenience methods implemented in terms of other methods. These default implementations would be useful still in the delegating scenario, not generating delegate methods for those would simplify the current class.

There is already bug 476016 in this context, but that one only speaks about avoiding illegal code, whereas this request is about improving convenience.