Home > Working
With Diagrams
Show/Hide compartment
This section describes how to show or to hide compartments in the
class diagram.
The Show/Hide menu can be activated at:
- EclipseUML
global preferences
- EclipseUML diagram preferences
- EclipseUML element preferences
1. The
global preferences allow to select the new diagram presentation:

- The EclipseUML diagram preferences allows to
change the existing preferences:
Mouse left click in order to select the diagram background >
pop up menu > Show/Hide Compartment
- Literal Compartment will
immediately show or hide all Enum literal compartment in the diagram
- Attribute Compartment
will
immediately show or hide all Class or Interface attributes in the
diagram
- Operation Compartment
will immediately show or hide all Class or Interface methods in the
diagram
- The EclipseUML
element preferences allow to change an element or a group of elements
existing preferences:
Mouse left click in order to select the
class, the interface or the Enum > popup menu > Show/Hide
Compartment
Left mouse click to
select one element
Left mouse clicks + shift to select multiple elements
Ctrl+a to select all the diagram elements
- Attribute Compartment
will
show or hide the selected Class or Interface attributes in the diagram
- Operation Compartment
will show or hide all Class or Interface methods in the diagram
- All Compartments will
immediately show for the selected Class or Interface all Attributes and
Methods compartments
- Name compartment only
will immediately hide or the selected Class or Interface all Attributes
and Methods compartments