com.esri.arcgis.editor
Interface IEditEvents5

All Superinterfaces:
EventListener, Serializable
All Known Implementing Classes:
IEditEvents5Adapter, IEditEvents5Proxy

public interface IEditEvents5
extends EventListener, Serializable

Provides access to more editor events. Implement it to listen for specific events that occur during an edit session.

Product Availability

Available with ArcGIS Desktop.


Method Summary
 void onCurrentTemplateChanged(IEditEvents5OnCurrentTemplateChangedEvent theEvent)
          Called when the current template changes.
 void onShapeConstructorChanged(IEditEvents5OnShapeConstructorChangedEvent theEvent)
          Called when the Shape Constructor changes.
 void onTemplateModified(IEditEvents5OnTemplateModifiedEvent theEvent)
          Called when a template is modified.
 void onTemplatesAdded(IEditEvents5OnTemplatesAddedEvent theEvent)
          Called when a templates are added.
 void onTemplatesRemoved(IEditEvents5OnTemplatesRemovedEvent theEvent)
          Called when a templates are removed.
 void onVertexSelectionChanged(IEditEvents5OnVertexSelectionChangedEvent theEvent)
          Called when the sketch's selected vertices changes.
 

Method Detail

onCurrentTemplateChanged

void onCurrentTemplateChanged(IEditEvents5OnCurrentTemplateChangedEvent theEvent)
                              throws IOException,
                                     AutomationException
Called when the current template changes.

Product Availability

Available with ArcGIS Desktop.

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

onTemplatesRemoved

void onTemplatesRemoved(IEditEvents5OnTemplatesRemovedEvent theEvent)
                        throws IOException,
                               AutomationException
Called when a templates are removed.

Remarks

OnTemplatesRemoved is triggered whenever a feature template or set of templates are removed from the map. You should listen to this event if you are managing a list of templates to ensure your list remains synchronized. This event will be fired whenever a call to IEditor3.RemoveTemplates, IEditor3.RemoveAllTemplatesInLayer, or IEditor3.RemoveAllTemplatesInMap is made.

Product Availability

Available with ArcGIS Desktop.

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

onTemplatesAdded

void onTemplatesAdded(IEditEvents5OnTemplatesAddedEvent theEvent)
                      throws IOException,
                             AutomationException
Called when a templates are added.

Remarks

OnTemplatesAdded is triggered whenever a feature template or set of templates are added to layers in the map. You should listen to this event if you are managing a list of templates to ensure your list remains synchronized. This event will be fired whenever a call to IEditor3.AddTemplates is made.

Product Availability

Available with ArcGIS Desktop.

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

onTemplateModified

void onTemplateModified(IEditEvents5OnTemplateModifiedEvent theEvent)
                        throws IOException,
                               AutomationException
Called when a template is modified.

Remarks

OnTemplateModified is triggered whenever a feature template's properties are updated. You should listen to this event if you are managing a list of templates to ensure your list remains synchronized. Clients that are updating the properties of an EditTemplate should call IEditor3.TemplateModified to ensure that all clients are properly notified through this event.

Product Availability

Available with ArcGIS Desktop.

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

onVertexSelectionChanged

void onVertexSelectionChanged(IEditEvents5OnVertexSelectionChangedEvent theEvent)
                              throws IOException,
                                     AutomationException
Called when the sketch's selected vertices changes.

Product Availability

Available with ArcGIS Desktop.

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

onShapeConstructorChanged

void onShapeConstructorChanged(IEditEvents5OnShapeConstructorChangedEvent theEvent)
                               throws IOException,
                                      AutomationException
Called when the Shape Constructor changes.

Product Availability

Available with ArcGIS Desktop.

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