Changing the active language projection of a UML model

This content applies to version 7.5.4 or later. UML models contain elements with the capability to display domain specific languages. Changing the active language of your workspace, or the default language of the model itself, you can change the domain specific language shown on the diagram.

About this task

A model contains elements that can have languages associated with them. You can change the language of a model, allowing you to work in different programming languages within the model. Setting a default language for the model will effect the projected language in the workspace depending on the workspace active language.

If you are working with multiple models in different languages, setting the workspace active language to Model, will display the default language associated with the model. Setting the workspace language to First will display the first language found in the model. Active language allows you to display the language that is associated with the model or display the language that is most important to you. You can also create user defined languages in the Preferences window.

You can change the workspace active language in the Preferences window or you can change the default language of the model in the Properties view, on the Language page. If you change the active language in the Preferences window, you change the projected model language of the entire workspace without modifying the model.

To change the default language of a UML model:

Procedure

  1. In the Project Explorer view, select a model.
  2. In the Properties view, on the Language page, click a language option.

Feedback