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 181234 - Add filter to Generate Override Methods dialog
Summary: Add filter to Generate Override Methods dialog
Alias: None
Product: editor
Classification: Unclassified
Component: Completion & Templates (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 normal with 3 votes (vote)
Assignee: Dusan Balek
Depends on:
Reported: 2010-02-25 12:09 UTC by mjr_1974
Modified: 2016-07-10 19:20 UTC (History)
2 users (show)

See Also:
Exception Reporter:

Screenshot of the dialog (23.52 KB, image/png)
2010-02-26 07:35 UTC, mjr_1974

Note You need to log in before you can comment on or make changes to this bug.
Description mjr_1974 2010-02-25 12:09:41 UTC
I think it will be very useful if the Generate Override Methods Dialog (maybe other dialogs my benefit as well with this idea) have a search option in the bottom that will filter the displayed results accordingly.
I think this addition will save time when the user knows the name of the method but can't remember where it was defined.
Comment 1 Michel Graciano 2010-02-25 13:43:07 UTC
I think this describes better what you need since an search is already implemented, you just need to type that an search field will shows up.
Comment 2 mjr_1974 2010-02-26 07:35:35 UTC
Created attachment 94555 [details]
Screenshot of the dialog

Sorry I was not clear enough.
I am attaching a picture of the dialog to show what I mean:
In this case I am subclassing JButton and I want to override the "validate" method. 
When the word "validate" is typed, the dialog should show all the nodes that contains it (expanding the tree as needed) and filter the method names. This search and filtering should be done right after a new letter is pressed. In this case, the last filtering should show:

JButton expanded, with no methods listed. 
AbstractButton expanded, with no methods listed.
JComponent as expanded, listing:
    - isValidatedRoot()
    - revalidate()
Container expanded, listing:
    - validate()
    - validateTree()

Also, I belive the seach label and its text field should be shown in the dialog all the time to "invite" users to use it.
Comment 3 Michel Graciano 2010-02-26 07:41:05 UTC
Yes, I agree with you it will be really useful. Thanks for explanation and really rich example.
Comment 4 Vitezslav Stejskal 2010-03-05 00:06:10 UTC
IMO the search capability is provided by tree visualizers somewhere in the platform.
Comment 5 Jaroslav Tulach 2010-03-09 06:54:39 UTC
Víťo, there is no point in assigning bugs for dialogs created by your group to other teams. Moreover I do not understand what you say. To quote: "the functionality is provided". Perfect, so it is provided? What else you want? In case you have a patch for our APIs feel free to report it as another issue.
Comment 6 mjr_1974 2010-03-09 07:16:17 UTC
When I thought of reporting this enhancement I based my description in the functionality by search in Options->KeyMap, but it applied to a Table not to a TreeTable.
Comment 7 markiewb 2013-06-18 11:45:50 UTC
Similar to ?
Comment 8 mjr_1974 2013-06-18 16:15:32 UTC
Well, it's somehow similar, but not the same...
Comment 9 Martin Balin 2016-07-07 07:31:50 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss
Comment 10 markiewb 2016-07-10 19:20:29 UTC
Still valid in 8.2 dev 
Product Version: NetBeans IDE Dev (Build 201607100002)