com.esri.arcgis.trackinganalyst
Interface ITrackingEnvironment3

All Superinterfaces:
ITrackingEnvironment, Serializable
All Known Implementing Classes:
TrackingEnvironment

public interface ITrackingEnvironment3
extends ITrackingEnvironment, Serializable

Provides access to properties and methods used to control the tracking analyst extension.

Description

This interface provides access to properties to indicate the running environment, display manager, default temporal legend group and reference, and whether or not the tracking components are properly licensed.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Tracking Analyst Extension.


Method Summary
 int runningEnvironment()
          Identifies the client envirionment, e.g., ArcMap, ArcGlobe, Map Control, ...
 
Methods inherited from interface com.esri.arcgis.trackinganalyst.ITrackingEnvironment
close, getDefaultTemporalLegendGroup, getDefaultTemporalReference, getDisplayManager, getLabelEngineManager, initialize, isAttached, isEnableTemporalDisplayManagement, isLicensed, isRunningInApplication, isRunningInArcMap, isRunningInCatalog, isRunningInMapControl, setEnableTemporalDisplayManagement, setHideTrackingConnectionsFolder
 

Method Detail

runningEnvironment

int runningEnvironment()
                       throws IOException,
                              AutomationException
Identifies the client envirionment, e.g., ArcMap, ArcGlobe, Map Control, ... with or without dynamic display.

Remarks

RunningEnvironment can be used to determine the host application that Tracking Analyst is running inside. This information can be useful when different operations need to be performed depending on the client hosting Tracking Analyst, i.e. a MapControl vs. a GlobeControl. This method supersedes IsMapControl, IsApplication, IsRunningInCatalog, and IsRunningInArcMap in ITrackingEnvironment.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Tracking Analyst Extension.

Returns:
A com.esri.arcgis.trackinganalyst.enumTrackingEnv constant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.