Configuring UML Modeling

From RAD Studio
Jump to: navigation, search

Go Up to Modeling Procedures

Use the Modeling options tree in the Options dialog box to tune Modeling features to best fit your requirements.

The Modeling options tree contains the following pages: Appearance, Layout, Print, View Management, General, Generate Documentation, Model View, Source Code, Generate Sequence Diagram. These pages provide a number of options to customize the appearance, layout, and printing of diagrams; to control types of elements displayed on diagrams; to control types of elements to include into generated HTML documentation; to control how to show elements of diagrams in the Model View; and so on.

The Modeling options tree contains four branches. These branches define four hierarchical levels of Modeling options. These levels have the following hierarchy:

  • Default -- The highest level. It is the superlevel of all other levels.
Options at this level define the default Modeling options for all IDE.
  • Project Group -- The sublevel of Default.
Options at this level define the default Modeling options for the current project group.
  • Project -- The sublevel of the Project Group and of Default levels, recursively.
Define the default options for the current project.
  • Diagram -- The lowest level. It is the sublevel of all other levels.
Options in this branch are the default for the current diagram.

See also Hierarchical Levels of Modeling options in the Modeling Options dialog box topic.


To customize the Modeling

  1. On the main menu, choose Tools > Options. The Modeling Options dialog box opens.
  2. In this dialog box, on the Options tree in the left pane, expand the Modeling node.
  3. In the Modeling options tree, select the desired branch (level) of options: Diagram, Project, Project Group, or Default.
  4. In the selected branch, select the desired page (group) of options: Appearance, Layout, Print, View Management, General, Generate Documentation, Model View, Source Code, Generate Sequence Diagram.
(Notice that not all these pages are available at the Diagram and Project branches.)
  1. For the Project and Diagram levels, choose the project or diagram where the changed options should apply. You can do this selection using the Project and Diagram options at the top of the selected page in the Options dialog box. Click the ellipsis button in the corresponding option and browse to the desired project or diagram.
  2. On the selected page of options, select Modeling options as required.
  3. Click OK to apply the changes and close the Options dialog box.

You can make the settings of some group of options final at a certain 'parent level' and disable any changes of options in this group on the lower levels.


To disable groups of Modeling options on sublevels of Modeling options

  1. On the main menu, choose Tools > Options. The Modeling Options dialog box opens.
  2. Click the Modeling node to expand it.
  3. In the Modeling options tree, select the required level (branch) of Modeling options: Default, Project Group, or Project.
  1. In the selected branch (level), select the required page (group) of options: Appearance, Layout, Generate Documentation, Model View, and so on.
  2. On the selected page, select the Disable sublevels check box.
Since Diagram is the lowest level, it does not contain the Disable sublevels check box.
Look in sublevels of the selected level at the pages corresponding to the selected page. You will see that all these pages show the Disabled by parent status. This means that all options of this page set at sublevels of the selected 'parent level' are ignored -- only the options set at the 'parent level' are used.


See Also