Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 320363

Summary: [Sequence Diagram] Add the custom behavior Show/Hide Compartment in the *.gmfgen
Product: [Modeling] Papyrus Reporter: Vincent Lorenzo <vincent.lorenzo>
Component: CoreAssignee: Thibault Landré <thibault.landre>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: emilien.perico
Version: 0.7.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on:    
Bug Blocks: 319223    

Description Vincent Lorenzo CLA 2010-07-20 05:09:33 EDT
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 compartmens).

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
Comment 1 Vincent Lorenzo CLA 2011-07-11 04:54:30 EDT
Tested on  0.8. It is done. I closed the bug.