A number of round-trip engineering options are configurable from the Default Options dialog (Options | Default) Source Code tab. Among these are:
To access the code-gen blueprints:
On the Main menu choose Options | Default.
Click the Source Code tab.
Expand required (Java, C++ or Corba IDL) node of the options tree.
Each of the default code formatting specifications displays in an edit control. Some of the nodes are expandable and contain nodes with addition values. For example, you can specify the default structure for classes, and under that expression, the default name for new classes.
In the default settings you will observe that Code Construction Macros are extensively used. These are explained in Reference: Code Construction Macros.
To edit code construction options:
If the option node is expandable, expand it to see the everything that's available to modify.
Make any desired changes directly In the option's edit field, or click the button next to the field (marked with ellipsis '...') to launch a multi-line editor dialog and make changes there.
Make any desired changes to the sub-nodes of the main option (default name, for example).
Repeat 1-3 for all templates you want to modify.
You can specify if the declarations for Attributes or Operations are generated first in Class declarations. The default is Attributes, then Operations.
To change the declaration order of Members:
Expand the Order node on the Source Code tab of Options dialog.
Change the option selected in the drop-down list and click Apply.
You can specify whether or not name references may be optimized... whether fully qualified names may be converted to simple names, for example. The default is optimized. You can specify that specific names not be changed, or allow simple reference names only for specific packages.
To modify name reference optimization options:
If you want no optimization, uncheck the Optimize Name References box on the Source Code tab of Default Options dialog.
If you want so modify other options, expand the Optmize Name Referenced node.
Modify other options as desired and click Apply.