Events Menu

You can implement event handlers to extend the capabilities of your model, to represent the host user interface within a higher-level procedural (table) interface, or to extend error handling to make host application models more robust.

Use the commands on the Events menu to attach event handlers, locate libraries and source code, and change the behavior of your event handling environment. You can configure default settings for event handling in the Event Handler Settings dialog box (available from the Settings menu).

Opens the Attach Event Handlers dialog box.

Opens the New Event Handler dialog box, where you can generate template code for new event handlers.

Browse and select a library from the event handler libraries folder. This is the location of the default JAR file for the model's event handlers, vhi_model.jar.

Browse and select a source from the event handler sources folder.

After editing an event handler, use this option to recompile the new event handler and to update it for the default JAR file. Review details on the rebuild process.

Reload Handlers
Resets the script manager (if required) and reloads all event handler libraries to match the latest copies stored with the model.

Disable Timeout
Controls the use of event handler timeouts. If timeouts are enabled, the normal event timeouts are enforced. If timeout is disabled, no timeouts are enforced when an event handler is processing an event. This option is useful for debugging.