O'Reilly logo

The Definitive Guide to NetBeans™ Platform 7 by Heiko Böck

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required