Creating an EGL BIRT handler

An EGL BIRT handler (that is, an EGL handler of type BIRTHandler) contains functions that are invoked when EGL is creating a report document. The process of creating a BIRT handler is to create a source file and, within that file, to code the handler. For details on what to code, see "EGL BIRT handler" in the Reference Guide.
To create a BIRT handler, do as follows:
  1. Identify a project or folder to contain the file. If necessary, create the project or folder.
  2. In the workbench, click File -> New -> EGL -> EGL Source File.
  3. Select the project or folder that will contain the EGL source file and then select a package.
  4. In the EGL Source File Name field, type the name of the handler source file. The file name will be identical to the name of the report handler name.
  5. Click Finish.
  6. The next step works only if the capability "EGL with BIRT support" is in effect. To put that capability into effect, click Window->Preferences and, when the Preferences dialog is displayed, highlight EGL and, at the right, select the checkbox for EGL with BIRT report support.
  7. In the EGL source editor, type handler with no subsequent space and press Ctrl-Space. At the context menu, select Handler - EGL BIRT Handler.
  8. Type the handler name.

For an overview of EGL support for BIRT, see "Creating reports with BIRT."


Feedback