Package com.luciad.lucy.addons.decoders
Class TLcyDWGDecoderAddOn
java.lang.Object
com.luciad.lucy.addons.ALcyAddOn
com.luciad.lucy.addons.decoders.TLcyDWGDecoderAddOn
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns true if the layer selector is used.boolean
Returns true if the layered decoder is used, false otherwise.void
plugInto
(ILcyLucyEnv aLucyEnv) Plugs this addon into the given lucy environment.void
setShowLayerSelector
(boolean aShowLayerSelector) Sets if the layer selector should be used.void
setUseLayeredDecoder
(boolean aUseLayeredDecoder) Set to true if the layered decoder should be used.void
unplugFrom
(ILcyLucyEnv aLucyEnv) Unplugs this addon from the given Lucy environment.Methods inherited from class com.luciad.lucy.addons.ALcyAddOn
getConfigSourceName, getDisplayName, setConfigSourceName, setDisplayName
-
Constructor Details
-
TLcyDWGDecoderAddOn
public TLcyDWGDecoderAddOn()
-
-
Method Details
-
plugInto
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. -
unplugFrom
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:
-
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:
-