Package com.luciad.lucy.addons.tote
Class TLcyToteAddOn
java.lang.Object
com.luciad.lucy.addons.ALcyAddOn
com.luciad.lucy.addons.tote.TLcyToteAddOn
The TOTE add-on (=Text Oriented Tabular Entry) provides the exact same functionality as the TableViewAddOn
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 TableViewAddOn
. As the source code of the latter is available as sample
code, it offers unlimited customization possibilities.
Please refer to TableViewAddOn
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 tote add-on by the sample-based version and the sample config file-->
<addon>
<class>com.luciad.lucy.addons.tote.TLcyToteAddOn</class>
<exclude/>
</addon>
<addon>
<name>Table view</name>
<class>samples.lucy.tableview.TableViewAddOn</class>
<configFile>samples/TableViewAddOn.cfg</configFile>
</addon>
When working with Lightspeed maps, you probably want to do the same with the TLcyLspToteAddOn
.
-
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
-
TLcyToteAddOn
public TLcyToteAddOn()
-
-
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:
-