Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.

Code Engineering Menu Section

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




See also

Generate Code

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



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.


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.



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


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