void Events_OnStartEditing() { //Since features of shapefiles, coverages, and so on, cannot be validated, ignore wiring //events for them. if (ArcMap.Editor.EditWorkspace.Type != esriWorkspaceType.esriFileSystemWorkspace) { //Wire OnCreateFeature edit event. Events.OnCreateFeature += new IEditEvents_OnCreateFeatureEventHandler (Events_OnCreateFeature); //Wire onChangeFeature edit event. Events.OnChangeFeature += new IEditEvents_OnChangeFeatureEventHandler (Events_OnChangeFeature); } }
Solved! Go to Solution.
For an example of capturing and listening for parcel editor events, please see code for attribute assistant, as demo'd at the 2/26/2015 land records meetup. The code is published on GitHub here: http://bit.ly/1FXwJct
The attribute assistant methods use editor events. The code added to support fabrics, uses objects class change events from the geodatabase fabric tables, and re-broadcasts these as editor events.
-Tim