Creating an EGL Interface part

To create an EGL source file that contains an EGL interface part, do as follows:

  1. Identify a project or folder to contain the file. You must create a project or folder if you do not already have one.
  2. In the workbench, click File > New > Interface. The New EGL Interface Part wizard opens
  3. In the Source folder field, select a source folder to hold the new file.
  4. In the Package field, select a package to hold the new file.
  5. In the EGL source file name field, type a name for the new file.
  6. Under EGL Interface Type select a type of interface to create. For more information, see Interface part.
  7. If you have selected Java Object as the type of interface part to create, you can select existing Java™ Object interface parts for the new interface to extend. To select interfaces for the new interface to extend, follow these steps:
    1. Click Add. The Extended Interfaces Selection window opens.
    2. In the Choose interfaces field, type a search string.
      • A question mark (?) represents any one character
      • An asterisk (*) represents a series of any characters

      The interface parts that match the search string are listed under Matching parts.

    3. Click the interface part you want the new interface part to extend.
    4. Click Add.
    5. When you are finished choosing interface parts, click OK.
  8. Click Finish.

You can also create an interface part based on the functions in a service part. See Creating an Interface part from a Service part.

Related concepts
EGL interfaces
EGL projects, packages, and files
Introduction to EGL
EGL services and Web services

Related tasks
Creating an Interface part from a Service part
Creating an EGL source folder

Related reference
Interfaces of type BasicInterface
Interfaces of type JavaObject
Interface part in EGL source format
Service part in EGL source format

Feedback
(C) Copyright IBM Corporation 2000, 2005. All Rights Reserved.