com.esri.arcgis.catalog
Interface IGxToolbox

All Superinterfaces:
Serializable
All Known Implementing Classes:
IGxToolboxProxy

public interface IGxToolbox
extends Serializable

Provides access to members that manage tools for the current selection.

Product Availability

Available with ArcGIS Desktop.


Method Summary
 void execute(String toolName, IEnumGxObject selection)
          Executes a named tool with the specified selection.
 Object getApplicableTools(IEnumGxObject selection)
          Returns an array of names of tools that apply to the selection.
 

Method Detail

getApplicableTools

Object getApplicableTools(IEnumGxObject selection)
                          throws IOException,
                                 AutomationException
Returns an array of names of tools that apply to the selection.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Parameters:
selection - A reference to a com.esri.arcgis.catalog.IEnumGxObject (in)
Returns:
A Variant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

execute

void execute(String toolName,
             IEnumGxObject selection)
             throws IOException,
                    AutomationException
Executes a named tool with the specified selection.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Parameters:
toolName - The toolName (in)
selection - A reference to a com.esri.arcgis.catalog.IEnumGxObject (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.