Class TLcyExportAddOn

java.lang.Object
com.luciad.lucy.addons.ALcyAddOn
com.luciad.lucy.addons.export.TLcyExportAddOn

@Deprecated public class TLcyExportAddOn extends ALcyAddOn
Deprecated.
The functionality of this addon is also present in TLcyMapComponentFactory.SAVE_AS_FILE_ACTION. This means regular maps created by the TLcyMapAddOn already contain the 'File|Save As...' menu item. Adding this addon will result in a second 'Save As...' menu item.

This addon adds the functionality to save layers to all possible data formats. It is only a frontend for the encoders registered using ILcyLucyEnv.addModelEncoder

This addon uses the ILcyCustomizerPanel mechanism to customize the properties of the model encoders that are used to export a selected layer. To this end it iterates over the registered ILcyCustomizerPanelFactory objects with an TLcyModelEncoderContext object. This context object contains the model encoder and, optionally, the model that will be encoded by that model encoder.

  • Constructor Details

    • TLcyExportAddOn

      public TLcyExportAddOn()
      Deprecated.
  • 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.
      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.
      Specified by:
      plugInto in class ALcyAddOn
      Parameters:
      aLucyEnv - The lucy environment to plug into.
      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: