C H A P T E R  24

Quick Search API

The Quick Search feature of the NetBeans Platform is an infrastructure for easily searching various files in different sources (shown in Figure 24-1). The Quick Search module has a simple API for providing so-called search provider implementations.

Image

Figure 24-1. Quick Search feature

The search box of the Quick Search module can be added to a toolbar or to the menu bar. Then the user can type in the desired term there. The registered search providers are already asynchronously queried for corresponding results when typing in. An action can be triggered by clicking a result. Listing 24-1 shows how to implement ...

Get The Definitive Guide to NetBeans™ Platform 7 now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.