Handler part

A Handler part provides data and callback functions for UI constructs such as Web pages or printers. You bind information in the Handler part to variables within the UI, and associate handler functions with events that occur in the UI.

Currently, the EGL language itself does not generate events, though console UI offers a similar structure with its openUI statement. EGL does, however, provide three types of handlers that work with outside technologies:

Syntax

Syntax for the Handler part
handlerPartName
The name you assign to the handler.
stereotype
Specializes the handler for a particular user interface technology. The basicHandler type is the only stereotype provided in the core EGL package. For other stereotypes you might have available, see the related references at the end of this topic.
properties
Handler properties. The properties available depend on the stereotype of the handler.
handlerFunctions
EGL functions.
handlerVars
Variables or constants.

Feedback