Class


Classes and Interfaces can be customized from the preferences (eUML2 > Class Diagram > Class view). Four major options are available:

1. Appearance

Stereotype preference allows you to choose:

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 :

 

2. Attributes

New functions:
Apply 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.


3. 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


4. 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.