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

Source Code Engineering Submenu

If you are modeling a software application developed in a particular language, you can generate the code in that language from the elements of your model and, in turn, update the model from changes to the generated code. That is, perform forward and reverse engineering at element level.

Access     Element | Source Code Engineering

Element Source Code Engineering Options

Option

Action

Shortcut

See also

Generate Current Element

 

Generate source code for the currently selected element.

F11

Generate a Single Class

Synchronize Current Element

Synchronize the selected Class with the source code.

If a problem arises, an error message displays. Otherwise the synchronization just proceeds in the background until complete.

 

F7

 

Batch Generate Selected Element(s)

Batch generate source code for the currently selected element(s).

The operation proceeds in the background until complete. If any problems arise, an error message displays.

 

Shift+F11

 

Batch Synchronize Selected Element(s)

Batch synchronize the currently selected element(s) with source code.

The operation proceeds in the background until complete. If any problems arise, an error message displays.

 

Ctrl+R

 

Open Source Directory

Open the directory containing the source for this element.

A browser displays, through which you locate the source code file for the element. Double-click on the file to open the code in the default external viewer for the code language.

 

Ctrl+Alt+Y

 

Learn more