How to Generate Ada95 from UML (Instant Generator Guide)?
Instant generator is the process of producing source code from class model. Designers or software architects can build a high level domain class model, then pass to programmer to perform more lower-level system or application modeling and eventually generate source code from implementation model. This chain makes building software faster and cheaper. In this chapter, we will go through the instant generation of Ada95. To generate code by instant generator:
- Select Tools > Code > Instant Generator from the toolbar.
- In the Instant Generator window, select Ada95 as the Language.
- Fill in the Output Path, which is the directory where you want the code to generate to.
- Select the classes to generate code. In the Diagrams tab, you can select the diagrams to generate code for classes in the selected diagrams. Alternatively, open the Model Elements tab and select the classes to generate code.
Selecting classes to generate code
- Optionally configure the generator options. Read the section below for a description of options.
- Click Generate to generate code.
Overview of Instant Generator
|Overview of Instant Generator window
|Description of instant generator window
On the Instant Generator window you can configure some of the common code options at the right of window. You can also configure the advanced options for more detailed settings by clicking the Advanced Options... button.
|Advanced Options window
Below is a description of available options.
|A description of advanced options|
The following resources may help you learn more about the topic discussed in this page.
|14. Instant Generator for Objective-C 2.0 source code||Table of Contents||16. Instant Generator for Ruby|