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

As you develop your model, you can generate code from the elements in a package (forward engineering) and create and update model elements from source code that you import into the project (reverse engineering) using any of a range of programming languages. That is, you perform forward and reverse engineering at package level.

Access     Tools | Source Code Engineering

Source Code Engineering Options

Option

Action

Shortcut

See also

Generate Package Source Code

 

Generate source code for the currently selected package.

Ctrl+Alt+K

Generate a Package

Synchronize Package Contents

 

Synchronize the selected package with the source code.

Ctrl+Alt+M

Update Package Contents

Import Source Directory

 

Import and reverse engineer an entire directory structure.

Ctrl+Shift+U

Import a Directory Structure

Import Binary Module

Import a binary module from Java Archive, .NET PE or Intermediary Language files.

 

 

Import Binary Module

Import ActionScript Files

 

Import code written in ActionScript from a .as code file.

 

Import ActionScript

Import C Files

Import code written in ANSI C from a .c or .h code file.

 

 

Import ANSI C

Import C# Files

Import code written in C# from a .cs code file.

 

 

Import C#

Import C++ Files

Import code written in C++ from a .h, .hpp or .hh code file.

 

 

Import C++

Import Delphi Files

Import code written in Delphi from a .pas code file.

 

 

Import Delphi

Import Java Files

Import code written in Java from a .java code file.

 

 

Import Java

Import PHP Files

Import code written in PHP from a .inc, .php or .php4 code file.

 

 

Import PHP

Import Python Files

Import code written in Python from a .py code file.

 

 

Import Python

Import Visual Basic Files

Import code written in Visual Basic from a .frm, .cls, .bas or .ctl code file.

 

 

Import Visual Basic

Import VB.NET Files

Import code written in VB.NET from a .VB code file.

 

 

Import VB.NET

Notes

Source Code Engineering is available in the Professional, Corporate, Business and Software Engineering, Systems Engineering and Ultimate editions of Enterprise Architect