Reset Options

Return to Introduction  Previous page  Next page

Enterprise Architect stores some of the options for a Class when it is first created. Some are global; for example $LinkClass is stored when you first create the Class, so it won't automatically pick up the global change in the Options dialog in existing Classes. You must modify the options for the existing Class.

Modify Options for Single Class

To modify options for a single Class, follow the steps below:

1.Right-click on the Class to change, and select the Generate Code menu option from the context menu. The Generate Code dialog displays.
2.Click on the Advanced button. The Object Options dialog displays.
3.Click on the Attributes/Operations button.
4.Change the options, and click on the Close button to apply changes.

Modify Options for All Classes

To modify options for all Classes within a package, follow the steps below:

1.Right-click on the package in the Project Browser window. The context menu displays.
2.Select the Code Engineering | Reset Options for Package menu option. The Manage Code Generation dialog displays.
 
CodeGen_Reset
 
3.Reset some of the defaults for each existing Class.
4.Click on the OK button to apply changes.