Import OCL Library project
In this section, you will import an existing OCL Library project. You will be using OCLWorkshop2008Demo as your example project.
Getting the Sample Code (OCLWorkshop2008Demo)
First you need to download the OCLWorkshop2008Demo source code.
- Click here to download the OCLWorkshop2008Demo source code.
- Extract the archive to a directory from now on referenced as <Downloads>.
Import the project
- Inside Eclipse select the menu item File > Import... to open the Import wizard.
- Expand OCLEditor Community Edition, select OCL Library Project, and click Next. Alternatively select File > Import > General > Existing projects into workspace
- Click the Browse button and browse to select
<Downloads>/OCLWorkshop2008Demo
Make sure that the names of the OCL library project and package are unique. Then click Finish.
Note: This step assumes that you followed steps 1 and 2 in the Getting the Sample Code section above.

- In the Project Explorer view, expand the OCLWorkshop2008Demo project and the ocl folder to view the OCLWorkshop2008Demo libraries.

Alternatively an OCL Project can be imported through: File > Import
> General > Existing Projects into Workspace...