Import Source Code

Import source code (reverse engineer)

As the import proceeds, Enterprise Architect provides progress information. When all files are imported, Enterprise Architect makes a second pass to resolve associations and inheritance relationships between the imported Classes.

Step

Action

See also

1

In the Project Browser, select (or add) a diagram into which to import the Classes.

2

Right-click on the diagram background to open the context menu and either:

  • Select the language to import from the 'Import from source file(s)' submenu
  • Click on the 'Import Language' drop-down arrow in the Code Generation toolbar and select the 'Import | Import xxx files' menu option, where xxx represents the language to import

3

From the file browser that appears, select one or more source code files to import.

Notes on Source Code Import

4

Click on the Open button to start the import process.

Learning Center topics

  • Alt+F1 | Enterprise Architect | Software Engineering | Import Source Code