Package com.luciad.lucy.addons
Class ALcyAddOn
java.lang.Object
com.luciad.lucy.addons.ALcyAddOn
- Direct Known Subclasses:
ALcyDefaultAddOn
,ALcyPreferencesAddOn
,TLcyAboutBoxAddon
,TLcyAIXM51RealtimeAddOn
,TLcyASDIDecoderAddOn
,TLcyBCIDecoderAddOn
,TLcyDAFIFAddOn
,TLcyDataRepositoryAddOn
,TLcyDGNDecoderAddOn
,TLcyDIMAPDecoderAddOn
,TLcyDWGDecoderAddOn
,TLcyEarthAddOn
,TLcyECWDecoderAddOn
,TLcyExportAddOn
,TLcyGeoSPOTDecoderAddOn
,TLcyGotoAreaOfInterestAddOn
,TLcyGRIBDecoderAddOn
,TLcyGridAddOn
,TLcyGridCoordinateAddOn
,TLcyHyperlinkAddOn
,TLcyJPEG2000DecoderAddOn
,TLcyKML22RealtimeAddOn
,TLcyLookAndFeelAddOn
,TLcyLspFallbackFormatAddOn
,TLcyLspGridCoordinateAddOn
,TLcyLspToteAddOn
,TLcyLVDBMilitaryAddOn
,TLcyMagneticNorthAddOn
,TLcyMapAddOn
,TLcyMapColorAddOn
,TLcyMapOverviewAddOn
,TLcyMapRadarViewAddOn
,TLcyMapRotationAddOn
,TLcyMapWorkSpaceAddon
,TLcyModelReferenceAddOn
,TLcyMrSidDecoderAddOn
,TLcyNITFDecoderAddOn
,TLcyOpenFlightDecoderAddOn
,TLcyOracleGeoRasterDecoderAddOn
,TLcyOracleLocatorDecoderAddOn
,TLcyPersistentPreferencesAddOn
,TLcyPOLDecoderAddOn
,TLcyPreviewAddOn
,TLcyPrintAddOn
,TLcySearchAddOn
,TLcySelectionEditorAddOn
,TLcySwissDHMMatrixDecoderAddOn
,TLcyTEAControllerAddOn
,TLcyToteAddOn
,TLcyTreeTableViewAddOn
,TLcyUndoAddOn
,TLcyUSRPDecoderAddOn
,TLcyVerticalViewAddOn
,TLcyViewshedOpenFlightAddOn
,TLcyVPFDecoderAddOn
An ALcyAddOn is the basic block in Lucy for contributing functionality.
Every addon needs a default constructor, because the implementing classes will be instantiated by the Lucy frontend when the addon is loaded.
It is the responsibility of the Lucy frontend to load the addons. The default frontend uses
the TLcyXMLAddOnLoader
, which reads an XML file to determine which addons
need to be loaded and what their configuration source names are.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the configuration source name.Returns the display name of this addon.abstract void
plugInto
(ILcyLucyEnv aLucyEnv) Plugs this addon into the given lucy environment.void
setConfigSourceName
(String aConfigSourceName) Sets the configuration source name.void
setDisplayName
(String aDisplayName) Sets the display name for this addon.abstract void
unplugFrom
(ILcyLucyEnv aLucyEnv) Unplugs this addon from the given Lucy environment.
-
Constructor Details
-
ALcyAddOn
protected ALcyAddOn()Creates a newALcyAddOn
.
-
-
Method Details
-
getDisplayName
Returns the display name of this addon. This name can be used, for instance, in a progress bar to indicate which addon is being loaded.- Returns:
- The display name of this addon. This name could be
null
.
-
setDisplayName
Sets the display name for this addon. This name can be used, for instance, in a progress bar to indicate which addon is being loaded.- Parameters:
aDisplayName
- The display name for this addon. This name may benull
.
-
plugInto
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.- Parameters:
aLucyEnv
- The lucy environment to plug into.- See Also:
-
unplugFrom
Unplugs this addon from the given Lucy environment. It removes the functionality previously added to the Lucy backend.- Parameters:
aLucyEnv
- The lucy environment to unplug from.- See Also:
-
getConfigSourceName
Returns the configuration source name. The addon can retrieve its configuration details from this source name.- Returns:
- The configuration source name. It can be
null
.
-
setConfigSourceName
Sets the configuration source name. The addon can retrieve its configuration details from this source name.- Parameters:
aConfigSourceName
- The configuration source name. It may benull
.
-