Prev Next

Reset Options

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 in existing Classes the global change in the 'Preferences' dialog will not automatically be picked up. You must modify the options for the existing Class.

Modify options for a single Class

Step

Action

See also

1

Click on the Class to change, and select the 'Code > Code Engineering > Generate > Generate Single Element' ribbon option.

The 'Generate Code' dialog displays.

2

Click on the Advanced button.

The 'Object Options' dialog displays.

3

Click on the 'Attributes/Operations' option.

4

Change the options, and click on the Close button to apply the changes.

Modify options for all Classes within a Package

Step

Action

See also

1

Click on the Package in the Project Browser, and select the 'Code >  Configure > Options > Reset Source Language' ribbon option.

The 'Manage Code Generation' dialog displays.

2

In the 'Where language is:' field, click on the drop-down arrow and select the language that you want to change from.

3

In the 'Convert to:' field, click on the drop-down arrow and select the language that you want to change to.

4

Select the checkbox against each option to apply to the changed Class elements in the Package:

  • Clear Filenames of the files to generate code to
  • Reset Default options on each Class
  • Process Child Packages under the selected Package

5

Click on the OK button to apply the changes.