GeoprocessingUI


Supported with:
Library dependencies: System, SystemUI, Geometry, Display, Server, Output, Geodatabase, GISClient, ArcWeb, DataSourcesFile, DataSourcesGDB, DataSourcesOleDB, DataSourcesRaster, DataSourcesNetCDF, GeoDatabaseDistributed, GeoDatabaseExtensions, Carto, NetworkAnalysis, Location, GeoAnalyst, Animation, Maplex, Geoprocessing, NetworkAnalyst, Schematic, SpatialAnalyst, 3DAnalyst, GlobeCore, Publisher, TrackingAnalyst, Framework, GeoDatabaseUI, DisplayUI, OutputUI, Catalog, CatalogUI, CartoUI, DataSourcesRasterUI, ArcCatalogUI, ArcCatalog, ArcMapUI, ArcMap, AnimationUI, Editor, GeoReferenceUI, EditorExt, LocationUI, GeoDatabaseDistributedUI

Additional library information: Contents, Object Model Diagram

The GeoprocessingUI library provides user interfaces (UIs) to support objects contained in the Geoprocessing library. The library supports these useful objects for a developer: ArcToolboxExtension, ArcToolbox, and GPToolCommandHelper.
 
It is not common for developers to extend this library.

The objects that implement this functionality are grouped into a number of library subsystems. These library subsystems are:

ArcToolBoxExtension

The ArcToolboxExtension coclass is used when working with ArcToolbox in an application such as ArcCatalog, ArcMap, or ArcGlobe. From ArcToolboxExtension, you can access the current toolboxes in ArcToolbox.
 
To get a reference to ArcToolboxExtension, use IApplication.FindExtensionbyCLSID or IApplication.FindExtensionByName.
 
The following Visual Basic (VB) code example shows the former method being used to acquire a reference of type IArcToolboxExtension to the ArcToolboxExtension object.


ArcToolBox

The ArcToolbox object manages the set of toolboxes and tools displayed in the ArcToolbox dockable window. This dockable window can be displayed or hidden in the application (i.e., ArcCatalog, ArcMap, or ArcGlobe). This object provides utility methods for adding and removing toolboxes from the ArcToolbox window, invoking a dialog for a geoprocessing tool, and so forth.
 
The following VB code example shows obtaining ArcToolbox and getting a geoprocessing tool by name.


GPToolCommandHelper

GPToolCommandHelper is a utility/helper object that allows you to easily invoke a dialog for a specific geoprocessing tool from a toolbar or context menu.
 
The following VB code example shows how to invoke a geoprocessing tool from a button on a toolbar.