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 125811

Summary: Java Source UI API TypeElementFinder to have over loaded method
Product: java Reporter: _ gmpatil <gmpatil>
Component: SourceAssignee: Jan Lahoda <jlahoda>
Status: RESOLVED FIXED    
Severity: blocker CC: apireviews
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 202036    
Attachments: CVS patch for TypeElementFinder, TypeBrowser and GoToTypeAction
Updated with missing 'else' in GoToTypeAction.
Proposed API change.

Description _ gmpatil 2008-01-23 02:34:33 UTC
Java Source IO API TypeElementFinder currently supports method find(ClasspathInfo cpInfo, final Customizer customizer).
The above method assumes the initial type search criteria as the text selected in the editor.

A overloaded method which takes initial type search criteria as a parameter.
Ex: find(ClasspathInfo cpInfo, final Customizer customizer, String initialSearchText) 

This allows other modules to use TypeElementFinder many different context w/o forcing user to enter the Type name and
search text again in the UI panel (GoToPanel) displayed.
Comment 1 _ gmpatil 2008-01-23 02:46:16 UTC
Created attachment 55415 [details]
CVS patch for TypeElementFinder, TypeBrowser and GoToTypeAction
Comment 2 _ gmpatil 2008-01-23 23:28:36 UTC
Created attachment 55463 [details]
Updated with missing 'else' in GoToTypeAction.
Comment 3 Rastislav Komara 2009-02-03 10:57:16 UTC
Overtake.
Comment 4 Jan Lahoda 2011-09-13 09:27:36 UTC
Created attachment 110694 [details]
Proposed API change.
Comment 5 Jan Lahoda 2011-09-13 09:27:55 UTC
Please review.
Comment 6 Jan Lahoda 2011-09-21 14:09:46 UTC
Integrated:
http://hg.netbeans.org/jet-main/rev/4c2dbd84509d
Comment 7 Quality Engineering 2011-09-22 14:52:49 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/4c2dbd84509d
User: Jan Lahoda <jlahoda@netbeans.org>
Log: #125811: Java Source UI API TypeElementFinder to have over loaded method