Class TLcyDWGDecoderAddOn

java.lang.Object
com.luciad.lucy.addons.ALcyAddOn
com.luciad.lucy.addons.decoders.TLcyDWGDecoderAddOn

public class TLcyDWGDecoderAddOn extends ALcyAddOn
This add-on provides DWG support. Note that you can only use this add-on if you also have the LuciadLightspeed DWG Industry Specific Component.
  • Constructor Details

    • TLcyDWGDecoderAddOn

      public TLcyDWGDecoderAddOn()
  • Method Details

    • plugInto

      public void plugInto(ILcyLucyEnv aLucyEnv)
      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)
      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:
    • isUseLayeredDecoder

      public boolean isUseLayeredDecoder()
      Returns true if the layered decoder is used, false otherwise. Default is true.
      Returns:
      true if the layered decoder is used, false otherwise. Default is true.
      See Also:
    • setUseLayeredDecoder

      public void setUseLayeredDecoder(boolean aUseLayeredDecoder)
      Set to true if the layered decoder should be used. DWG data can be composed out of multiple layers. True means every layer in the dwg data is mapped to a map layer after loading. If false, all data in the layers of the dwg file is put into one layer.
      Parameters:
      aUseLayeredDecoder - True to use the layered decoder.
      See Also:
    • isShowLayerSelector

      public boolean isShowLayerSelector()
      Returns true if the layer selector is used.
      Returns:
      true if the layer selector is used.
      See Also:
    • setShowLayerSelector

      public void setShowLayerSelector(boolean aShowLayerSelector)
      Sets if the layer selector should be used. Only useful if isUseLayeredDecoder is set to true. If true, a chooser is popped when loading dwg data to allow the user to select the layers he needs. If false, all layers are always loaded.
      Parameters:
      aShowLayerSelector - True if the layer selector should be used, false otherwise.
      See Also: