Creating PLAM library elements

Creating elements of an existing type

New library elements of an existing type can be created by selecting the type node as parent folder and executing the context menu action New > File (library elements are treated as files here). This will open a file creation dialog:

Enter an element name (as New BS2000 file name) and press Finish. This will create a standard library element of the selected type. Now you can modify the element attributes to your needs by the context menu action Properties, see Other tasks with PLAM library elements - Modifying the type of an element.

If you wish to specify a version for the new element, then add the version enclosed in parenthesis as suffix of the element name, e.g. newSource.c(3) to create version 3.

Creating elements of a non-existing type

If you want to create a new element of a not yet existing type, then select the library as parent folder and execute the context menu action New > File. In the then opening file creation dialog enter an element name (as New BS2000 file name) and choose from Element type list selected type. The following sample dialog creates an element compile-procedure of type j:

Editing just created elements

If the contents type of an element is definitively characterized as text (see BS2000 file and library contents types), double clicking on the element will open an appropriate text editor. If the contents type is not characterized as text you can open a text editor by the context menu action Open With and selecting an appropriate editor. Eclipse will remember your selection and will open the element with this editor when you double-click on the same element in the future.