Creating an OCL Library

In this section, you will create a new OCL Library.

  1. Inside Eclipse select the menu item File > New > Other.... to open the New wizard.
  2. Select OCLEditor Community Edition > OCL Library then click Next to start the New OCL Library wizard:

    OCL Library wizard

    On this page, type "mylib" in the File name, and click Finish.
  3. The new file is opened in the editor and appears in the Package Explorer view.

Related concepts

OCL editor

Related reference

New OCL Library Wizard
Templates Preferences