UML & SysML modelling languages

Expertise and blog articles on UML, SysML, and Enterprise Architect modelling tool

version francaiseTwitterVideos UMLChannel SparxSystems EA YouTubeLinkedIn
Monday, 01 July 2013 13:42

EA hint: display empty compartments for a class without any attribute or operation

Written by
Rate this item
(0 votes)

When creating classes in EA without the need to define any attribute or operation, the class is rendered without any compartment. This rendering can be an issue for some users, and as such EA lets you change that through the element's display properties in a given diagram.

To do so, right click on the class from your diagram, select "Feature and Compartment Visibility", and enable "structure compartment". You should get the result illustrated as follows:

use of structured compartment in ea

This is a limited solution since it only works on the current diagram, and EA doesn't let you apply this option onto a selection of classes.