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 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:
- 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:
- In the workbench, click . The
Workspace Launcher window opens.
- Enter a new workspace location in the Workspace field.
- 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.
- From the menu bar, click . The
Preferences window opens.
- At the left side of the Preferences window, expand General and
click Capabilities.
- 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.
- 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.
- 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.