Implementing an Event Handler

The UI Designer will implement shell files for each event you wish to handle within your application. It is up to you how to implement the details of how to handle each event.

NOTE The implementation of event handlers are unique to each event and application.

The Events view provides a quick way to navigate to event handler code.

Navigating to the Event Handler

  1. Select an object which responds to events.
  2. The object will be displayed with the selection rectangle .

  3. Display the Events view (if it is not already displayed) using Window > Show View > Events.
  4. The Events View will display all events associated with the selected object type. Events for which a handler already exists will display the name of the handler next to the event.

  5. Double-click on the handler name to jump to the source code which implements the handler .
  6. NOTE You may be asked to confirm saving modified information.

    The associated source file will be opened to the handler routine for this menu item's selection event.

Related concepts
Related references
Related tasks