Class TLcyDataRepositoryAddOn

java.lang.Object
com.luciad.lucy.addons.ALcyAddOn
com.luciad.lucy.addons.datarepository.TLcyDataRepositoryAddOn

@Deprecated public class TLcyDataRepositoryAddOn extends ALcyAddOn
Deprecated.
See the samples.lucy.datarepository.DataRepositoryAddOn sample
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 Details

    • TLcyDataRepositoryAddOn

      public TLcyDataRepositoryAddOn()
      Deprecated.
      Constructor
  • Method Details

    • setClassTraceOn

      @Deprecated public static void setClassTraceOn(boolean aClassTraceOn)
      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 is true 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 public void setTraceOn(boolean aTraceOn)
      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 either true or false as argument automatically turns off tracing for all other class instances for which setTraceOn has not been called. If the argument is false 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 public boolean isTraceOn()
      Deprecated.
      This method has been deprecated. It is recommended to use the standard Java logging framework directly.
      Returns true if tracing is enabled for this class.
      Returns:
      true if tracing is enabled for this class, false otherwise.
    • plugInto

      public void plugInto(ILcyLucyEnv aLucyEnv)
      Deprecated.
      Implementation of ALcyAddon the plugInto method.
      Specified by:
      plugInto in class ALcyAddOn
      Parameters:
      aLucyEnv -
      See Also:
    • unplugFrom

      public void unplugFrom(ILcyLucyEnv aLucyEnv)
      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 class ALcyAddOn
      Parameters:
      aLucyEnv - The lucy environment to unplug from.
      See Also: