This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > CatalogUI > ESRI.ArcGIS.CatalogUI > Interfaces > IG > IGxApplication Interface (ArcObjects .NET 10.4 SDK) |
Provides access to members that control the Gx Application object.
The IGxApplication interface is unique to ArcCatalog and is used to control certain aspects of its behavior. For example, through the IGxApplication interface, you can delete or expand the current selection (through DeleteSelection and ExpandSelection) or force a refresh of a certain part of the Catalog tree (through Refresh). You can also get hold of the currently selected object(s) through the Selection and SelectedObject properties.
The Catalog property returns the GxCatalog object, which represents the root of the Catalog data tree. From there, you can use IGxObjectContainer::Children to enumerate through the Catalog’s descendants.
The TreeView property gives you access to ArcCatalog’s tree view. From this GxTreeView, you can ensure that a certain descendant is visible or initiate a renaming operation.
The View property gives you access to the active GxView, whatever it happens to be. It might be one of the built-in views—for example, GxContentsView, GxPreview, or GxMetadataView—or it might be a developer- added one. From here, you can manipulate the active view in whatever fashion is native to it.
Description | ||
---|---|---|
AreaOfInterest | The default area of interest for the application. | |
CanDeleteSelection | Indicates if the current selection can be deleted. | |
CanRenameSelection | Indicates if the current selection can be renamed. | |
Catalog | The current catalog. | |
DeleteSelection | Deletes the current selection. | |
ExpandSelection | Expands the current selection. | |
Location | The location to the specified path. If the path isn't yet part of the catalog, it is added as a folder connection. | |
Refresh | Refreshes the catalog tree starting at the specified path. If startingPath is 0 or the empty string, the entire catalog is refreshed. | |
RenameSelection | Renames the current selection. | |
SelectedObject | The first selected object, or the location if no objects are selected. | |
Selection | The selection of application. | |
ShowContextMenu | Displays a context menu for the current selection. | |
TreeView | The tree view. | |
View | The current view. | |
ViewClassID | The current view's class ID. |
CoClasses and Classes | Description |
---|---|
Application (esriArcCatalog) | Esri ArcCatalog Application. |
Application (esriArcGlobe) | Esri ArcGlobe Application. |
Application (esriArcMap) | Esri ArcMap Application |
Application (esriArcScene) | The 3D Modeling Application. |