Class TLcyTEAControllerAddOn
java.lang.Object
com.luciad.lucy.addons.ALcyAddOn
com.luciad.lucy.addons.tea.controller.TLcyTEAControllerAddOn
Add-on to query terrain elevation of GXY maps in a tooltip and in a profile view.
It provides a controller that displays elevation as a tool tip,
and that allows creating a profile view by dragging a line.
The
back-end
performs the actual calculation.
The add-on's functionality can be changed by extending the back-end.
See the developer's guide for more information on using and extending TEA add-ons.
Note that this add-on depends on the LuciadLightspeed Terrain Analysis Engine component.- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected TLcyTEAControllerBackEnd
Creates theTLcyTEAControllerBackEnd
that is used to perform the actual calculations with.Returns theTLcyTEAControllerBackEnd
of this add-on, as created bycreateControllerBackEnd
.Returns the Lucy environment into which this add-on was plugged.Returns the preferences tool used by the add-on.void
plugInto
(ILcyLucyEnv aLucyEnv) Builds the TEA controller and back-end and plugs in the GUI.void
unplugFrom
(ILcyLucyEnv aLucyEnv) Unplugs the add-on from the Lucy environment.Methods inherited from class com.luciad.lucy.addons.ALcyAddOn
getConfigSourceName, getDisplayName, setConfigSourceName, setDisplayName
-
Constructor Details
-
TLcyTEAControllerAddOn
public TLcyTEAControllerAddOn()
-
-
Method Details
-
plugInto
Builds the TEA controller and back-end and plugs in the GUI. -
unplugFrom
Unplugs the add-on from the Lucy environment.- Specified by:
unplugFrom
in classALcyAddOn
- Parameters:
aLucyEnv
- the Lucy environment- See Also:
-
getLucyEnv
Returns the Lucy environment into which this add-on was plugged.- Returns:
- the Lucy environment into which this add-on was plugged
- See Also:
-
getPreferencesTool
Returns the preferences tool used by the add-on. The preferences tool provides access to the add-on's configuration, system, user and workspace preferences.- Returns:
- the add-on's preferences tool
-
getControllerBackEnd
Returns theTLcyTEAControllerBackEnd
of this add-on, as created bycreateControllerBackEnd
. It can be used to perform calculations just as this add-on would make them.- Returns:
- the
TLcyTEAControllerBackEnd
of this add-on.
-
createControllerBackEnd
Creates theTLcyTEAControllerBackEnd
that is used to perform the actual calculations with. Return a sub-class ofTLcyTEAControllerBackEnd
to tune the behavior.- Returns:
- the
TLcyTEAControllerBackEnd
that is used to perform the actual calculations with.
-