com.esri.arcgis.system
Interface IParentExtension

All Superinterfaces:
Serializable
All Known Implementing Classes:
IParentExtensionProxy

public interface IParentExtension
extends Serializable

Provides access to the child extensions of this extension. Indicates that this extension has child extensions.

Description

Implement the IParentExtension interface to indicate other 'child' related extensions and implement the IChildExtension interface within each 'child' extension. The 'parent' extension appears as an expandable folder in the Extensions dialog and each 'child' extension appears as an item in the folder.

For example, the StreetMapEurope 'parent' extension implements IParentExtension and each 'child' extension (each country in Europe) implements IChildExtension.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux


Method Summary
 IExtension getChild(int index)
          The indicated child extension.
 int getChildCount()
          The number of child extensions.
 

Method Detail

getChildCount

int getChildCount()
                  throws IOException,
                         AutomationException
The number of child extensions.

Description

Returns the number of Child extensions belonging to this extension.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Returns:
The count
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getChild

IExtension getChild(int index)
                    throws IOException,
                           AutomationException
The indicated child extension.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
index - The index (in)
Returns:
A reference to a com.esri.arcgis.system.IExtension
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.