Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.
Code Engineering Options
The Code Engineering submenu of the Package context menu provides options for performing a range of different types of code generation operations on the contents of the selected Package.
Access Project Browser, right-click on a Package | Code Engineering
Options
Option |
Description |
Shortcut |
See also |
||||||
---|---|---|---|---|---|---|---|---|---|
Generate Source Code
|
Select this option to generate the code for the elements in the selected Package. |
Ctrl+Alt+K |
|||||||
Import Source Directory |
Select this option to import code from all source files in a complete directory structure, which helps you to add or synchronize multiple files in a directory.
|
Ctrl+Shift+U |
|||||||
Import from source file(s)
|
Select this option to import source code into the project from one or more external source files. |
|
|||||||
Import Binary Module
|
Select this option to import binary into your model from external source files. Files you can currently import include:
|
|
|||||||
Import Resource Script |
Select this option to import Microsoft WindowsTM Resource Scripts (as .rc files), which contain the Win32 dialog definitions (those with the stereotype «win32Dialog») for an application's graphical user interface.
|
|
|||||||
Synchronize Package With Code |
Select this option to synchronize the elements in the selected Package in the Project Browser with the source code. |
Ctrl+Alt+M |
Element Options in the Project Browser Operation Menu - Project Browser
|
||||||
Generate DDL |
Select this option to generate DDL from the selected Package, for Tables, Stored Procedures and Views.
|
|
|||||||
Import DB schema from ODBC |
Select this option to import database schema into a standard UML model, to initially create a database definition and subsequently update the model from the live database.
|
|
|||||||
Generate XML Schema
|
Select this option to forward-engineer an XML Schema model into W3C XML Schema (XSD) files. |
|
|||||||
Import XML Schema
|
Select this option to reverse engineer a W3C XML Schema (XSD) file to create or overwrite a Package of your UML Class model.
|
|
|||||||
Generate WSDL
|
Select this option to forward-engineer a WSDL model into WSDL 1.1 files. |
|
|||||||
Import WSDL
|
Select this option to reverse engineer a WSDL 1.1 file to create or overwrite a Package of your UML Class model.
|
|
|||||||
Reset Options for this Package
|
Select this option to manually reset the stored options for all Classes in a Package. Some Class options are stored when a Class is created, and so for existing Classes are not updated by changes to the Options dialog. These include the code language, whether child Packages are processed, and whether filenames are cleared, and are the options you update using this method.
|
|
|||||||
Reset DBMS Options
|
Select this option to map the DBMS data types of the Package to the data types of another DBMS.
|
|
|||||||
Set as Namespace Root Clear Namespace Root
|
Select these options to set the selected Package as the namespace root for its hierarchy, or to clear the Package as a namespace root. |
|
|
||||||
Suppress Namespace Show Namespace
|
Select these options to temporarily omit the selected Package from a namespace definition, and to restore it again. |
|
|||||||
Live Code Generation
|
Select this option to generate code from the elements in the Package as they are added or changed. |
|
|