com.esri.arcgis.catalog
Interface IGxObjectEdit

All Superinterfaces:
Serializable
All Known Implementing Classes:
GxAGSCatalog, GxAGSConnection, GxAGSDraft, GxAGSDraftFolder, GxAGSFeatureServer, GxAGSFolder, GxAGSGeoDataServer, GxAGSGeometry, GxAGSGeoprocessing, GxAGSGlobe, GxAGSGlobeLayer, GxAGSImage, GxAGSLocator, GxAGSMap, GxAGSWMServer, GxCadDataset, GxCatalog, GxCoverageDataset, GxDatabase, GxDatabaseServerFolder, GxDataGraph, GxDataset, GxDiskConnection, GxFeatureDefinitionPackage, GxFile, GxFolder, GxFolderConnections, GxGeoprocessingResult, GxLayer, GxMap, GxMetadata, GxMSDFile, GxNewDatabase, GxPackage, GxPCCoverage, GxPre70Coverage, GxPrjFile, GxRasterDataset, GxRemoteDatabaseFolder, GxReport, GxSDCDataset, GxServiceDefinition, GxShapefileDataset, GxShortcut, GxSpatialReferencesFolder, GxSpatialWeightsMatrixFile, GxStreetMapDataset, GxTextFile, GxTool, GxToolbox, GxToolboxesFolder, GxToolboxesRoot, GxToolset, GxVpfDataset, GxWCSConnection, GxWCSCoverage, GxWMSConnection, GxWMSLayer, GxWMSMap, GxWMTSConnection, GxWMTSLayer, GxWorkspaceFolder, IGxObjectEditProxy, IMSConnection, IMSFeatureClass, IMSFeatureService, IMSImageMap, IMSMetadataService, SearchResults, SearchResultsRoot

public interface IGxObjectEdit
extends Serializable

Provides access to members that edit/modify a GxObject.

Product Availability

Available with ArcGIS Desktop.


Method Summary
 boolean canCopy()
          Indicates if the object can be copied.
 boolean canDelete()
          Indicates if the object can be deleted.
 boolean canRename()
          Indicates if the object can be renamed.
 void delete()
          Deletes the object.
 void editProperties(int hParent)
          Presents a modal dialog to allow editing the object's properties.
 void rename(String newShortName)
          Renames the object.
 

Method Detail

canRename

boolean canRename()
                  throws IOException,
                         AutomationException
Indicates if the object can be renamed.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

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

rename

void rename(String newShortName)
            throws IOException,
                   AutomationException
Renames the object.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Parameters:
newShortName - The newShortName (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

canDelete

boolean canDelete()
                  throws IOException,
                         AutomationException
Indicates if the object can be deleted.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

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

delete

void delete()
            throws IOException,
                   AutomationException
Deletes the object.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

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

editProperties

void editProperties(int hParent)
                    throws IOException,
                           AutomationException
Presents a modal dialog to allow editing the object's properties.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Parameters:
hParent - The hParent (A COM typedef) (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

canCopy

boolean canCopy()
                throws IOException,
                       AutomationException
Indicates if the object can be copied.

Remarks

CanCopy must return True if your customized GxObject is intended to support copy/paste, drag/drop within ArcCatalog or drag/drop from ArcCatalog to ArcMap.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

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