Creating EGL source files

The creation process is essentially the same for most EGL source files.

Follow these steps to create a source file that contains an EGL part:

  1. You must specify a project or folder when you create an EGL source file. You can do this in one of two ways:
    • Right-click a project or folder in your workspace and click New > Other.
    • With a project or folder selected in your workspace, click File > New > Other

    If you have not yet created a project or folder, you must do so before creating parts. See Creating an EGL project

  2. From the Select a wizard window, expand EGL, and click the type of part you want to create. If you do not see the part type you are looking for, click Show All Wizards. The following instructions cover any of these parts:
    • DataTable
    • EGL Source File (generic wizard)
    • FormGroup
    • Interface
    • JSF Handler
    • Library
    • Program
    • Report Handler
    • Service

    Click Next

  3. EGL displays a new part wizard. In the Source folder field, EGL shows the project or folder you previously selected. You can change this name to that of another existing project or folder if you chose the wrong one initially.
  4. In the Package field, select a package to hold the new file. If the package name you enter here does not exist, EGL creates it for you. To ensure that you use the correct name of an existing package, click Browse and locate the package name.
  5. In the EGL source file name field, type a name for the new file. The file name must be same as the part name. For example, assume your file will define a program named checkCustomerBalance:
    Program checkCustomerBalance type BasicProgram
      ...
    end

    In this case you must name the file checkCustomerBalance. EGL will add the .egl extension to file name automatically.

    File names that contain EGL parts must conform to EGL part naming conventions. For more information, see Naming conventions

  6. Some wizards require further information. You can learn about these options in the appropriate topic for the specific part:
  7. Click Finish.

Feedback