public class TLcyTreeTableViewAddOn extends ALcyAddOn
This add-on provides the exact same functionality as the TreeTableViewAddOn
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 TreeTableViewAddOn
. As the source code of the latter is available as sample
code, it offers unlimited customization possibilities.
Please refer to TreeTableViewAddOn
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 tree table view add-on by the sample-based version and the sample config file-->
<addon>
<class>com.luciad.lucy.addons.treetable.TLcyTreeTableViewAddOn</class>
<exclude/>
</addon>
<addon>
<name>Tree table view</name>
<class>samples.lucy.treetableview.TreeTableViewAddOn</class>
<configFile>samples/TreeTableViewAddOn.cfg</configFile>
</addon>
Constructor and Description |
---|
TLcyTreeTableViewAddOn()
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)