public final class TLcySearchAddOn extends ALcyAddOn
This add-on adds search functionality to Lucy. It adds a search box for
This add-on is final, and the only possible customization options are listed in the configuration file. However, the source code of this add-on is available as sample code. This allows you to make any customization you can think of. If you want to use the sample code version of this add-on, you need to exclude the search add-on in your addons file, and add an entry for the sample add-on (or for your customized version of the sample add-on):
<!-- Exclude the standard search add-ons --!>
<addon>
<class>com.luciad.lucy.addons.search.TLcySearchAddOn</class>
<exclude/>
</addon>
<!-- Include the sample versions of the add-on --!>
<addon>
<name>Search</name>
<class>samples.lucy.search.SearchAddOn</class>
<configFile>samples/search/SearchAddOn.cfg</configFile>
</addon>
The sample code javadoc explains how the most common customizations can be done.
The package documentation of the samples.lucy.search
package is a good starting point.
Constructor and Description |
---|
TLcySearchAddOn()
Default constructor
|
Modifier and Type | Method and Description |
---|---|
void |
plugInto(ILcyLucyEnv aLucyEnv)
Plugs this addon into the given lucy environment.
|
void |
unplugFrom(ILcyLucyEnv aLucyEnv)
Unplugs this addon from the given Lucy environment.
|
getConfigSourceName, getDisplayName, setConfigSourceName, setDisplayName
public void plugInto(ILcyLucyEnv aLucyEnv)
ALcyAddOn
plugInto
in class ALcyAddOn
aLucyEnv
- The lucy environment to plug into.ALcyAddOn.unplugFrom(com.luciad.lucy.ILcyLucyEnv)
public void unplugFrom(ILcyLucyEnv aLucyEnv)
ALcyAddOn
unplugFrom
in class ALcyAddOn
aLucyEnv
- The lucy environment to unplug from.ALcyAddOn.plugInto(com.luciad.lucy.ILcyLucyEnv)