Community
Participate
Working Groups
The EditParts which have compartment(s) should have the Show/Hide Compartment EditPolicy : key : org.eclipse.papyrus.diagram.common.editpolicies.ShowHideCompartmentEditPolicy.SHOW_HIDE_COMPARTMENT_POLICY class : org.eclipse.papyrus.diagram.common.editpolicies.ShowHideCompartmentEditPolicy The plugin org.eclipse.papyrus.gmfgenextension implements a new action to add easily this behavior on the nodes in the *.gmfgen (Right click on a node-> Papyrus GMFGen Tools->Add behavior to show/hide compartments). You can test this new behavior in the Class Diagram and in the Profile Diagram : select a Class/Stereotype for example > Right Click> Filters> Show/Hide Compartments
Done in r2550.