Code Engineering Options

Access    Project Browser, right-click on a Package | Code Engineering

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

Generate a Package

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 Source Directory

Import from source File(s)

 

Select this option to import source code into the project from one or more external source files.

 

Import Source Code

Import Binary Module

 

Select this option to import binary into your model from external source files. Files you can currently import include:

Java Archive (.jar)
.Net PE file (.exe, .dll) - Native Windows DLL and EXE files are not supported, only PE files containing .NET assembly data
Intermediate Language file (.il)
 

 

Import Binary

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.

 

 

Import Resource Script

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

Update Package Contents

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.

 

 

Generate DDL

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.

 

 

Import DB schema from ODBC

Generate XML Schema

 

Select this option to forward-engineer an XML Schema model into W3C XML Schema (XSD) files.

 

Generate XSD

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.

 

 

Import XSD

Generate WSDL

 

Select this option to forward-engineer a WSDL model into WSDL 1.1 files.

 

Generate WSDL

Import WSDL

 

Select this option to reverse engineer a WSDL 1.1 file to create or overwrite a Package of your UML Class model.

 

 

Import WSDL

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 Options

Reset DBMS Options

 

Select this option to map the DBMS data types of the Package to the data types of another DBMS.

 

 

Reset DBMS Options

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.

 

 

 

 

 

Namespaces

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.