com.esri.arcgis.controls
Interface IGlobeCommandHook

All Superinterfaces:
Serializable
All Known Implementing Classes:
IGlobeCommandHookProxy

public interface IGlobeCommandHook
extends Serializable

Provides access to members that work with GlobeHookHelper. Custom control or application needs to implement IGlobeCommandHook to be recognized by GlobeHookHelper.

Description

Implement the IGlobeCommandHook interface in custom controls and applications if you want them to work with GlobeHookHelper objects. The GlobeHookHelper is designed to help developers write custom commands that will work with the ArcGIS GlobeControl and the ArcGlobe application as well as custom applications.

Product Availability

Available with ArcGIS Engine.


Method Summary
 IGlobe getGlobe()
          Globe of the control or application.
 

Method Detail

getGlobe

IGlobe getGlobe()
                throws IOException,
                       AutomationException
Globe of the control or application.

Description

The Globe object used by the custom control or application.

The GlobeHookHelper is often used in custom commands and the IGlobeHookHelper::Globe can return the Globe of the hook by using this property.

Product Availability

Available with ArcGIS Engine.

Returns:
A reference to a com.esri.arcgis.globecore.IGlobe
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.