Class TLcyDataRepositoryAddOn
java.lang.Object
com.luciad.lucy.addons.ALcyAddOn
com.luciad.lucy.addons.datarepository.TLcyDataRepositoryAddOn
Deprecated.
This AddOn creates a menu structure that corresponds to the directory
structure of a data directory. All files from that data directory (and
subdirectories) that can be read by lucy are added to the menu structure in
the same hierarchy. Every data file that can be read, is represented by a
checkbox. The data can then be loaded and unloaded by checking the
checkboxes.
Note that it will only start reading the directory structure after the
ILcyLucyEnv
passed in plugInto has fired its initialized lucy
env event. This to make sure that all add-ons that register model decoders
have been loaded.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Deprecated.This method has been deprecated.void
plugInto
(ILcyLucyEnv aLucyEnv) Deprecated.Implementation ofALcyAddon
the plugInto method.static void
setClassTraceOn
(boolean aClassTraceOn) Deprecated.This method has been deprecated.void
setTraceOn
(boolean aTraceOn) Deprecated.This method has been deprecated.void
unplugFrom
(ILcyLucyEnv aLucyEnv) Deprecated.Unplugs this addon from the given Lucy environment.Methods inherited from class com.luciad.lucy.addons.ALcyAddOn
getConfigSourceName, getDisplayName, setConfigSourceName, setDisplayName
-
Constructor Details
-
TLcyDataRepositoryAddOn
public TLcyDataRepositoryAddOn()Deprecated.Constructor
-
-
Method Details
-
setClassTraceOn
Deprecated.This method has been deprecated. It is recommended to use the standard Java logging framework directly.Enables tracing for all instances of this class. If the argument istrue
then all log messages are recorded, otherwise only the informative, warning and error messages are recorded.- Parameters:
aClassTraceOn
- if true then all log messages are recorded, otherwise only the informative, warning and error messages are recorded.
-
setTraceOn
Deprecated.This method has been deprecated. It is recommended to use the standard Java logging framework directly.Enables tracing for this class instance. Calling this method with eithertrue
orfalse
as argument automatically turns off tracing for all other class instances for whichsetTraceOn
has not been called. If the argument isfalse
then only the informative, warning and error log messages are recorded.- Parameters:
aTraceOn
- if true then all log messages are recorded for this instance. If false, then only the informative, warning and error log messages are recorded.
-
isTraceOn
Deprecated.This method has been deprecated. It is recommended to use the standard Java logging framework directly.Returnstrue
if tracing is enabled for this class.- Returns:
- true if tracing is enabled for this class, false otherwise.
-
plugInto
Deprecated.Implementation ofALcyAddon
the plugInto method. -
unplugFrom
Deprecated.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:
-
samples.lucy.datarepository.DataRepositoryAddOn
sample