public class TLcyLspToteAddOn extends ALcyAddOn
The TOTE add-on (=Text Oriented Tabular Entry) provides the exact same functionality as the LspTableViewAddOn
sample class, and is actually
a wrapper around it. This construct allows to either use this add-on as-is, or to not use it at all
and replace it with the identical LspTableViewAddOn
. As the source code of the latter is available as sample
code, it offers unlimited customization possibilities.
Please refer to LspTableViewAddOn
for an explanation of what this add-on does.
To replace this add-on with the sample version, add the following snippet to your addons.xml
file.
<!-- Replace the official Lightspeed tote add-on by the sample-based version and the sample config file-->
<addon>
<class>com.luciad.lucy.addons.tote.lightspeed.TLcyLspToteAddOn</class>
<exclude/>
</addon>
<addon>
<name>Lightspeed Table view</name>
<class>samples.lucy.tableview.lightspeed.LspTableViewAddOn</class>
<configFile>samples/LspTableViewAddOn.cfg</configFile>
</addon>
When working with GXY maps, you probably want to do the same with the TLcyToteAddOn
.
The mapcentric version of Lucy uses a different configuration file for the table view.
If you want to replace this add-on with the sample version in Lucy MapCentric, add the following snippet to your addons.xml
file.
<!-- Replace the official Lightspeed tote add-on by the sample-based version and the sample config file-->
<addon>
<class>com.luciad.lucy.addons.tote.lightspeed.TLcyLspToteAddOn</class>
<exclude/>
</addon>
<addon>
<name>Lightspeed Table view</name>
<class>samples.lucy.tableview.lightspeed.LspTableViewAddOn</class>
<configFile>samples/LspTableViewAddOn_MapCentric.cfg</configFile>
</addon>
>
Constructor and Description |
---|
TLcyLspToteAddOn()
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)