Code Engineering Menu Section

The Code Engineering submenu on the element context menu can contain the following options:

Action

Usage

Shortcut

See also

Generate Code

Generate source code for the selected element (forward engineer).

 

F11

Generate a Single Class

Synchronize With Code

Reverse engineer source code for the selected element.

You can also synchronize Class elements from the source code via the Project Browser, and reverse engineer or forward engineer model packages and code to synchronize them and incorporate changes made in one but not in the other.

F7

Importing Source Code

Element Menu - Project Browser

Operation Menu - Project Browser

Update Package Contents

 

View Source Code

Open the source editor if a file exists for that selected element.

 

F12

Editing Source Code

Create Workbench Instance

Create a workbench instance for the Debug Workbench (if a debug command has been configured for the parent package).

 

Ctrl + Shift + J

Create Workbench Variables

Notes

Context menus vary slightly between element types, and not all menu options shown here are present on all element context menus; for example, Code Engineering options won't appear for a Use Case element