Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 325445 - [Composite Structure Diagram] [Preferences] Regenerate Diagram to add the Compartments Preferences
Summary: [Composite Structure Diagram] [Preferences] Regenerate Diagram to add the Com...
Status: RESOLVED FIXED
Alias: None
Product: Papyrus
Classification: Modeling
Component: Core (show other bugs)
Version: 0.7.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Yann Tanguy CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 325419
  Show dependency tree
 
Reported: 2010-09-16 08:16 EDT by Vincent Lorenzo CLA
Modified: 2010-10-06 08:04 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.