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.
Summary: | [65cat] REGRESSION: Bring back find by type | ||
---|---|---|---|
Product: | utilities | Reporter: | misterm <misterm> |
Component: | Search | Assignee: | Jaroslav Havlin <jhavlin> |
Status: | RESOLVED WONTFIX | ||
Severity: | blocker | CC: | hmichel |
Priority: | P3 | Keywords: | REGRESSION |
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Description
misterm
2008-02-12 16:24:38 UTC
Replacement of a find dialogue with another find dialogue with many pros and a few cons is not a defect. I understand your need but I will not track this as defect - I change the status to ENHANCEMENT. For your information, the support for tabs in the Find dialogue has been maintained during redesign and reimplementation of the dialogue. So it is enough to write a custom search type (extends org.openidex.SearchType) and put it to the default lookup and then write a custom search type customizer (a Swing form implementing interface java.beans.Customizer. Names of the SearchType class and the customizer class must have a common base (e.g. TypeOfObject) and suffixes "Type" and "Customizer" (e.g. TypeOfObjectType, TypeOfObjectCustomizer). The Find dialogue will recognize it and display a separate tab for it in the Find dialogue. You do not need to add the search type to the Utilities module - it may be in a separate module. The Search API has been redesigned, so the issue is now quite outdated. API for custom search providers is now available instead of search types. Closing this issue. |