Home > Preferences > Class Diagram

Class


Classes and Interfaces can be customized from the preferences (UML > Class Diagram > Class).


Five major options are available:

1. Stereotype

This preference allows you to choose:

2. Package indications

Usually, classes and interfaces of a class diagram come from the same package. But sometimes they can come from different packages, and indication about the package from which classes or interfaces come from might be useful. This preference allows you to set how package information should be shown in the class diagram. This only applies to new classes or interfaces, any modification will not impact existing classes.

Four ways of package indications are available :

3. Attributes

New functions:
Use property Concept:  By default, the property concept is activated, so the attribute and its accessors are displayed as a single property. (See getting started example.)
Show association member:  By default, the show association member is not activated, (See getting started example.)

This preference allows you to choose which attributes will be visible in your UML view. It is only applied to new classes, any modification will not impact existing classes.

Multiple possibilities are provided :

More detail is then provided for each class in the diagram through the view selector.


4. Methods

This preference allows you to choose which methods will be visible in your UML view. It is only applied to new classes, any modification will not impact existing classes.

Multiple possibilities are provided :

More detail is then provided for each class in the diagram through the view selector


5. Inner classes

This preference allows you to choose which inner classes will be visible in your UML view. It is only applied to new classes, any modification will not impact existing classes.

Multiple possibilities are provided :

More detail is then provided for each class in the diagram through the view selector.