public class TLcyToteAddOn extends ALcyAddOn
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 and Description |
---|
TLcyToteAddOn() |
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)