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

Bug 461559

Summary: [Stereotype Display] Brace Properties should be store in a different Compartment into Notation View
Product: [Modeling] Papyrus Reporter: Celine Janssens <Celine.janssens>
Component: DiagramAssignee: Celine Janssens <Celine.janssens>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: cletavernier, mickael.adam29
Version: 1.1.0   
Target Milestone: ---   
Hardware: All   
OS: All   
URL: https://wiki.eclipse.org/Papyrus/Mars_Work_Description/Improvments/Stereotype_support
See Also: https://bugs.eclipse.org/bugs/show_bug.cgi?id=457024
https://git.eclipse.org/r/43940
https://git.eclipse.org/c/papyrus/org.eclipse.papyrus.git/commit/?id=352c66a80ef03c588e88dbaa1679ff0251c2ab67
https://git.eclipse.org/r/47343
https://git.eclipse.org/c/papyrus/org.eclipse.papyrus.git/commit/?id=aa51f9ee3eddf8ba18a418ffb8de9ec77a0be103
Whiteboard:
Bug Depends on: 461561    
Bug Blocks: 455311    

Description Celine Janssens CLA 2015-03-06 04:03:20 EST
In order to Manage Brace properties display by CSS, it is would be better to sotre the properties between braces in an other Basic Compartment to be able to hide it and show it by CSS. 

The Structure could have the same as the properties in a Compartment. 

Shape
    Compartment -> Stereotype 1
       Property 1
       Property 2 
    Brace Compartment -> Stereotype 1
       Property 1
       Property 2 

    Compartment -> Stereotype 2
       Property a
       Property b 
    Brace Compartment -> Stereotype 2
       Property a
       Property b
Comment 1 Celine Janssens CLA 2015-03-11 10:17:30 EDT
When I create non graphical BasicCompartment, DefaultNodeEditPart are created instead by GMF.

In the Comment it generates invalid View. 

To fix this an "Empty" EditPart with an invisible figure should be created. for those Nodes.
Comment 2 Eclipse Genie CLA 2015-03-16 10:56:44 EDT
New Gerrit change created: https://git.eclipse.org/r/43940

WARNING: this patchset contains 1613 new lines of code and may require a Contribution Questionnaire (CQ) if the author is not a committer on the project. Please see:https://wiki.eclipse.org/Project_Management_Infrastructure/Creating_A_Contribution_Questionnaire
Comment 3 Eclipse Genie CLA 2015-03-17 12:45:41 EDT
WARNING: this patchset contains 1635 new lines of code and may require a Contribution Questionnaire (CQ) if the author is not a committer on the project. Please see:https://wiki.eclipse.org/Project_Management_Infrastructure/Creating_A_Contribution_Questionnaire
Comment 4 Eclipse Genie CLA 2015-03-18 04:53:02 EDT
WARNING: this patchset contains 1633 new lines of code and may require a Contribution Questionnaire (CQ) if the author is not a committer on the project. Please see:https://wiki.eclipse.org/Project_Management_Infrastructure/Creating_A_Contribution_Questionnaire
Comment 5 Eclipse Genie CLA 2015-03-18 05:51:13 EDT
WARNING: this patchset contains 1651 new lines of code and may require a Contribution Questionnaire (CQ) if the author is not a committer on the project. Please see:https://wiki.eclipse.org/Project_Management_Infrastructure/Creating_A_Contribution_Questionnaire
Comment 6 Eclipse Genie CLA 2015-03-18 10:24:11 EDT
Gerrit change https://git.eclipse.org/r/43940 was merged to [bugs/457024-stereotypeDisplay].
Commit: http://git.eclipse.org/c/papyrus/org.eclipse.papyrus.git/commit/?id=352c66a80ef03c588e88dbaa1679ff0251c2ab67

WARNING: this patchset contains 1651 new lines of code and may require a Contribution Questionnaire (CQ) if the author is not a committer on the project. Please see:https://wiki.eclipse.org/Project_Management_Infrastructure/Creating_A_Contribution_Questionnaire
Comment 7 Eclipse Genie CLA 2015-05-06 12:08:57 EDT
New Gerrit change created: https://git.eclipse.org/r/47343

WARNING: this patchset contains 2008 new lines of code and may require a Contribution Questionnaire (CQ) if the author is not a committer on the project. Please see:https://wiki.eclipse.org/Project_Management_Infrastructure/Creating_A_Contribution_Questionnaire
Comment 9 Celine Janssens CLA 2015-05-07 10:34:50 EDT
Merged for Mars M7