Home

 

Class diagram preferences

Rational Application Developer allows users to review and edit default settings or preferences that affect the appearance and the behavior of UML class diagrams and their content. These preferences are organized under the Modeling node within the Preferences dialog (select Window Æ Preferences).

Before you create a new UML class diagram, you can set the default global preferences for attributes and operations, such as visibility styles, showing or hiding attributes and operations, showing or hiding operation signatures, and showing or hiding parent names of classifiers. Most configuration settings are present under the following Preferences dialog nodes:

UML diagrams-This node and the nodes beneath it, such as Class and Component, allow users to specify several preferences regarding the style, fonts, and colors that are displayed in UML diagrams when they are created. Users can change the default settings for showing or hiding attributes, operations, operation signatures, or parent names of classifiers. They can also specify which compartments are shown by default when a new UML element is created.

Java-This node and the nodes beneath it allow users to specify settings that deal with Java code when it is used in a UML model. One example is the configuration of corresponding wizards that should be used when new fields or methods are created within a class diagram.

The settings for the configuration of wizards are under Field and Method Creation. Its even possible to specify the default values that should be applied to these wizards.
Show Related Elements Filters provides the option to filter out binary Java types when the Show Related Elements action is executed. Binary Java types are types that are not defined in the workspace, but instead are available to the workspace through referenced JAR libraries.

EJB-The EJB preferences node allows users to specify if newly generated or created EJBs are visualized in a selected class diagram. If this option is selected and a diagram is not selected while creating or generating a new bean, this bean is opened in a default class diagram.

Web Service-This node allows users to change the default settings for visually representing existing WSDL elements. You can specify if the external or compressed view of an existing WSDL element is shown. Furthermore, you can specify which WSDL components are visually represented in class diagrams. To show or hide WSDL components, select or clear the corresponding check boxes on this page.
ibm.com/redbooks