Events life cycle

This sample demonstrates when various edit events are fired in response to changes in the editing environment or user actions. This sample also shows which events are appropriate to listen for in various situations and explains what causes a given event to fire.

How to use

See How to use ArcGIS samples for help on running the sample.

  1. Start the sample application.
  2. On the Select Events tab, select the events you are interested in.
  3. Start an edit session using the Editor menu, and perform common operations (create a feature, modify an exiting feature, undo and redo edits, and so on). The Output tab indicates the sequence in which the edit events are fired.

If you installed the samples feature, you will find the files associated with this sample in <Your Developer Kit install location>\DeveloperKit10.4\Java\Samples\ArcObjects.

editing/ Entry point for the sample. It initializes the interop, sets up the user interface (UI), and ensures licensing is valid.
editing/ Contains the code to implement an event listener that listens to edit events. The listener indicates when an event is fired if it is selected in the EventsPane.
editing/ Contains the code to implement a JPane that contains two tabs, one for selecting events to listen to and the other for listing events that were fired.

Development licensing Deployment licensing
Engine Developer Kit Engine
ArcGIS for Desktop Standard
ArcGIS for Desktop Advanced