< Previous | Next >

Lesson 1: Setting up EGL

In this lesson, you will prepare to use EGL by setting up your workspace and enabling the EGL capability.

Before you can begin this tutorial, you must make sure that your system is configured to use EGL. You will need to do the steps in this lesson only once, even if you create many EGL projects. These steps make sure that EGL is installed and enabled on your system.

The workbench hides options that you are not using, based on which capabilities are enabled. For example, when the EGL Development capability is disabled, EGL-related projects and file types do not appear in the File > New menu. In this way, capabilities keep the workbench from becoming cluttered with too many options. For more information about EGL capabilities, see the help topic Enabling EGL capabilities.

Follow these steps to enable EGL:

  1. Optionally, you may want to use a separate workspace while working on the tutorial so you do not interfere with any of your other projects. If you want to use a different workspace, follow these optional steps:
    1. In the workbench, click File > Switch Workspace. The Workspace Launcher window opens.
    2. Enter a new workspace location in the Workspace field.
    3. Click OK. The workbench reopens using the new workspace location. You can switch workspace locations at any time, and you can have as many workspace locations as you want.
  2. From the menu bar, click Window > Preferences. The Preferences window opens.
  3. At the left side of the Preferences window, expand General and click Capabilities.
  4. On the Capabilities list, click Advanced. The Capabilities page looks like the following example. You may have other capabilities available, depending on the products and options you have installed.
    Capabilities page of the Preferences window with the EGL Developer capability selected
  5. In the Advanced Capabilities Settings dialog, expand EGL Developer and select the check boxes for all the EGL capabilities you need. For this tutorial you need only the EGL Core Language and EGL JSF capabilities.
    Capabilities page of the Preferences window with the EGL Developer capability selected
  6. Click OK.
You have enabled the necessary EGL capabilities to create EGL-related files and projects. There might be many other capabilities available on the capabilities page. You do not need to enable any other capabilities for this tutorial, but you other tasks may require other capabilities.

Preparing your workspace

To follow this tutorial easily, open the web perspective and close the Welcome page and any open files from other projects. To open the web perspective, follow these steps:
  1. Close the Welcome if it is open.
  2. In the workbench, click Window > Open Perspective > Other. The Open Perspective window opens.
  3. Click Web.
  4. Click OK.
The web perspective loads in the workbench, showing the views that you need to complete this tutorial. You can go to any other perspective by clicking the Open a perspective button:
You can also click Window > Open Perspective > Other and click a perspective. If at any time you have closed or resized the views, you can click Window > Reset Perspective to restore the perspective to its defaults.
< Previous | Next >

Feedback