com.esri.arcgis.geodatabase
Interface IWorkspaceEvents

All Superinterfaces:
EventListener, Serializable
All Known Implementing Classes:
CadAnnotationLayer, CadastralFabricSubLayer, CadFeatureLayer, CoverageAnnotationLayer, DimensionLayer, FDOGraphicsLayer, FeatureLayer, GdbRasterCatalogLayer, GxDatabase, GxExcelFile, GxGDSGeodatabase, IWorkspaceEvents2Proxy, IWorkspaceEventsAdapter, IWorkspaceEventsProxy, RepresentationWorkspaceExtension

public interface IWorkspaceEvents
extends EventListener, Serializable

Provides access to events that may be fired by a Workspace.

Product Availability

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


Method Summary
 void onCreateDataset(IWorkspaceEventsOnCreateDatasetEvent theEvent)
          This event is fired when a dataset is created.
 void onDeleteDataset(IWorkspaceEventsOnDeleteDatasetEvent theEvent)
          This event is fired when a dataset is deleted.
 void onRenameDataset(IWorkspaceEventsOnRenameDatasetEvent theEvent)
          This event is fired when a dataset is renamed.
 

Method Detail

onCreateDataset

void onCreateDataset(IWorkspaceEventsOnCreateDatasetEvent theEvent)
                     throws IOException,
                            AutomationException
This event is fired when a dataset is created.

Remarks

The OnCreateDataset method is fired after a dataset has been created.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

onRenameDataset

void onRenameDataset(IWorkspaceEventsOnRenameDatasetEvent theEvent)
                     throws IOException,
                            AutomationException
This event is fired when a dataset is renamed.

Remarks

The OnRenameDataset method is fired after a dataset has been renamed.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

onDeleteDataset

void onDeleteDataset(IWorkspaceEventsOnDeleteDatasetEvent theEvent)
                     throws IOException,
                            AutomationException
This event is fired when a dataset is deleted.

Remarks

The OnDeleteDataset method is fired after a dataset has been created.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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