To create an EGL source file that contains an EGL interface part, do as
follows:
- Identify a project or folder to contain the file. You must create a project
or folder if you do not already have one.
- In the workbench, click File > New > Interface. The New EGL Interface
Part wizard opens
- In the Source folder field, select a source folder
to hold the new file.
- In the Package field, select a package to hold
the new file.
- In the EGL source file name field, type a name
for the new file.
- Under EGL Interface Type select a type of interface
to create. For more information, see Interface part.
- 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:
- Click Add. The Extended Interfaces Selection window
opens.
- 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.
- Click the interface part you want the new interface part to extend.
- Click Add.
- When you are finished choosing interface parts, click OK.
- 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.