Class TLcyLspToteAddOn
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>
- Since:
- 2012.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
plugInto
(ILcyLucyEnv aLucyEnv) Plugs this addon into the given lucy environment.void
unplugFrom
(ILcyLucyEnv aLucyEnv) Unplugs this addon from the given Lucy environment.Methods inherited from class com.luciad.lucy.addons.ALcyAddOn
getConfigSourceName, getDisplayName, setConfigSourceName, setDisplayName
-
Constructor Details
-
TLcyLspToteAddOn
public TLcyLspToteAddOn()Default constructor
-
-
Method Details
-
plugInto
Description copied from class:ALcyAddOn
Plugs this addon into the given lucy environment. It is in the implementation of this method that the addon adds its functionality to the Lucy backend. -
unplugFrom
Description copied from class:ALcyAddOn
Unplugs this addon from the given Lucy environment. It removes the functionality previously added to the Lucy backend.- Specified by:
unplugFrom
in classALcyAddOn
- Parameters:
aLucyEnv
- The lucy environment to unplug from.- See Also:
-