Prev | Next |
Generate a Group of Classes
In addition to being able to generate code for an individual Class, you can also select a group of Classes for batch code generation. When you do this, you accept all the default code generation options for each Class in the set.
Generate Class Group
Step |
Detail |
See also |
---|---|---|
1 |
Select a group of Classes and/or interfaces in a diagram. |
|
2 |
Click on an element in the group and select the 'Code > Source Code > Generate > Generate Selected Element(s)' ribbon option (or press ). If no code exists for the selected elements, the 'Save As' dialog displays on which you specify the file path and name for each code file; enter this information and click on the . |
|
3 |
The 'Batch Generation' dialog displays, showing the status of the process as it executes (the process might be too fast to see this dialog). If code already exists for the selected Class elements, and changes have been made to the Class name or structure, the 'Synchronize Element <package name>.<element name>' dialog might also display; this dialog helps synchronize the model and code. |
Synchronize Model and Code |
Notes