com.esri.arcgis.geodatabase
Interface IWorkspaceEditEvents

All Superinterfaces:
EventListener, Serializable
All Known Implementing Classes:
DataGraphT, DataGraphTScatterPlotMatrix, IWorkspaceEditEvents2Proxy, IWorkspaceEditEventsAdapter, IWorkspaceEditEventsProxy, MosaicLayer

public interface IWorkspaceEditEvents
extends EventListener, Serializable

Provides access to events that occur to a workspace in the context of editing it.

Remarks

IWorkspaceEditEvents is an outbound interface supported by Personal, File and ArcSDE geodatabase workspaces. Clients can listen for and be notified of all the significant editing events (such as OnStartEditing and OnUndoEditOperation) via this interface. In response to these events, clients should discard or refresh (that is, discard and refetch) cached row objects within the application. Clients should also listen for and respond to the notifications in IVersionEvents.

Product Availability

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


Method Summary
 void onAbortEditOperation(IWorkspaceEditEventsOnAbortEditOperationEvent theEvent)
          This event is fired after an edit operation is aborted.
 void onRedoEditOperation(IWorkspaceEditEventsOnRedoEditOperationEvent theEvent)
          This event is fired after an undone edit operation is redone.
 void onStartEditing(IWorkspaceEditEventsOnStartEditingEvent theEvent)
          This event is fired after editing is started on a workspace.
 void onStartEditOperation(IWorkspaceEditEventsOnStartEditOperationEvent theEvent)
          This event is fired after an edit operation is started.
 void onStopEditing(IWorkspaceEditEventsOnStopEditingEvent theEvent)
          This event is fired after editing is stopped on a workspace.
 void onStopEditOperation(IWorkspaceEditEventsOnStopEditOperationEvent theEvent)
          This event is fired after an edit operation is stopped (successfully completed).
 void onUndoEditOperation(IWorkspaceEditEventsOnUndoEditOperationEvent theEvent)
          This event is fired after a (completed) edit operation is undone.
 

Method Detail

onStartEditing

void onStartEditing(IWorkspaceEditEventsOnStartEditingEvent theEvent)
                    throws IOException,
                           AutomationException
This event is fired after editing is started on a workspace.

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.

onStopEditing

void onStopEditing(IWorkspaceEditEventsOnStopEditingEvent theEvent)
                   throws IOException,
                          AutomationException
This event is fired after editing is stopped on a workspace.

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.

onStartEditOperation

void onStartEditOperation(IWorkspaceEditEventsOnStartEditOperationEvent theEvent)
                          throws IOException,
                                 AutomationException
This event is fired after an edit operation is started.

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.

onAbortEditOperation

void onAbortEditOperation(IWorkspaceEditEventsOnAbortEditOperationEvent theEvent)
                          throws IOException,
                                 AutomationException
This event is fired after an edit operation is aborted. Any cached row objects must be discarded / refreshed.

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.

onStopEditOperation

void onStopEditOperation(IWorkspaceEditEventsOnStopEditOperationEvent theEvent)
                         throws IOException,
                                AutomationException
This event is fired after an edit operation is stopped (successfully completed).

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.

onUndoEditOperation

void onUndoEditOperation(IWorkspaceEditEventsOnUndoEditOperationEvent theEvent)
                         throws IOException,
                                AutomationException
This event is fired after a (completed) edit operation is undone. Any cached row objects must be discarded / refreshed.

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.

onRedoEditOperation

void onRedoEditOperation(IWorkspaceEditEventsOnRedoEditOperationEvent theEvent)
                         throws IOException,
                                AutomationException
This event is fired after an undone edit operation is redone. Any cached row objects must be discarded / refreshed.

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.