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

Bug 325445

Summary: [Composite Structure Diagram] [Preferences] Regenerate Diagram to add the Compartments Preferences
Product: [Modeling] Papyrus Reporter: Vincent Lorenzo <vincent.lorenzo>
Component: CoreAssignee: Yann Tanguy <yann.tanguy>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 0.7.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on:    
Bug Blocks: 325419    

Description Vincent Lorenzo CLA 2010-09-16 08:16:30 EDT
According with the bug 325419, the templates have been modified. Now we can define the visibility of the compartments in the Papyrus preferences.

You need to update the plugins org.eclipse.papyrus.codegen and org.eclipse.papyrus.def before regenerating your diagram.
Comment 1 Yann Tanguy CLA 2010-09-29 09:14:33 EDT
Done in r2828.
Comment 2 Yann Tanguy CLA 2010-10-05 06:20:19 EDT
ClassClassifier provoked mismatch with ClassComposite and have been remove from GMFGen.
This element was not used, moreover, in case Operation, Attribute compartment would be needed on Composite, it would be better to add them directly on the same ClassComposite node (with possible default compartment hiding).

Done in r2870.

Still some issues remains in templates, PropertyPart has a compartment which visibility cannot be set in preferences.
Comment 3 Yann Tanguy CLA 2010-10-05 06:47:03 EDT
Compartment visibility is not correctly initialized for Child nodes (ex: create a Class and a Nested Class)
Comment 4 Yann Tanguy CLA 2010-10-06 08:04:01 EDT
Compartment default visibility fixed for ChildNodes in r2890.
Comment 5 Yann Tanguy CLA 2010-10-06 08:04:27 EDT
Fixed.