Community
Participate
Working Groups
The EditParts that represent UML Classifier (Class, DataType, StateMachine,...) and which have compartments should have the following EditPolicy : EditPolicy : org.eclipse.papyrus.diagram.common.editpolicies.ShowHideClassifierContentsEditPolicy key : org.eclipse.papyrus.diagram.common.editpolicies.ShowHideClassifierContentsEditPolicy.SHOW_HIDE_CLASSIFIER_CONTENTS_POLICY This action allows Show/Hide easily members and inherited members for the classifiers. This action is available in the Filter Menu and in the ToolBar (the fantom icon!), or with the key F4 (Show/Hide Contents)
This action will replace the Show/Hide Inherited Properties/Ports in this diagram
Created attachment 175928 [details] The new gmfGen for Composite Diagram Add the custom Behavior to display contents in Classifier Add the custom Behavior to show/hide Compartments
Created attachment 175929 [details] Patch for the GMFGen (r2494) Patch for the GMFGen (r2494)
Created attachment 175930 [details] Patch for the GMFGen (r2522) Patch for the GMFGen (r2522)
In the attachment, you have the new GMFGen file with new features and the patch corresponding to the new feature in the GMFGen (for r2522). Add the Show/Hide behavior for compartments (bug 320361) Add the Show/Hide contents for Classifiers (bug 321822)
EditPolicy added in Composite Structure Diagram (r2550)
Fixed.