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

Bug 343401

Summary: [Component Diagram] [Enhancements] Component Diagram needs to be regenerated
Product: [Modeling] Papyrus Reporter: Vincent Lorenzo <vincent.lorenzo>
Component: CoreAssignee: Cedric Dumoulin <cedric.dumoulin>
Status: CLOSED FIXED QA Contact: Vincent Lorenzo <vincent.lorenzo>
Severity: normal    
Priority: P3    
Version: 0.8.0   
Target Milestone: 0.8.0   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on: 343359    
Bug Blocks: 343361    
Attachments:
Description Flags
Bugs 343092, 335987 and 342925 fixed and the Gradient and Transparency has been added
rschnekenburger: iplog+
EditParts for Gradient and Transparency rschnekenburger: iplog+

Description Vincent Lorenzo CLA 2011-04-20 09:29:49 EDT
The enhancements provided by the bug 343092, bug 335987, bug 342954 need a regeneration of each diagram.
I have created 3 new gmfgen nodes which are described here : http://wiki.eclipse.org/Papyrus_Developer_Guide/Papyrus_diagram_generation#Papyrus_Extension_Root_Node_Description

for the bug 343092 : 
- all compartments with title should have the field "Needs Title" set to true
-> a new tool in oep.gmfgenextension allows to change this field on the selected compartment
- to hide the title, you should use the new gmfgen node: Compartment Title Visibility Preference

for the bug 335987
- all external nodes labels and link labels should be referenced by the new GMFGen Node Label Visibility Preferences. 
-> icons for role are located in oep.diagram.common/label_role
-> warning with the preferences pages :
for example : 
same pages for AssociationNode, AssociationLink and AssociationBranchLink
-> now we should have a page for AssociationLink and AssociationNode (change the field "DisplayName" in the gmfgen of the element
-> AssociationBranch and AssociationLink should have the same "Display Name", BUT AssociationBranch should be located before AssociationLink in the model

- the element which have labels should provides the EditPolicy ShowHideLabelEditPolicy
-> for links it is done in a super class
-> for node, you should provide it in the GMFGen (a tool is provided in oep.gmfgenextension)

for the bug 342925
- a new node Compartment Visibility Preference allows to define hidden compartments by default. Currently, I'm not sure it is be useful.

Best Regards, 
-- 
Vincent Lorenzo
Comment 1 Amine EL KOUHEN CLA 2011-05-23 09:51:26 EDT
Created attachment 196340 [details]
Bugs 343092, 335987 and 342925 fixed and the Gradient and Transparency has been added
Comment 2 Amine EL KOUHEN CLA 2011-05-23 09:52:05 EDT
Created attachment 196341 [details]
EditParts for Gradient and Transparency
Comment 3 Amine EL KOUHEN CLA 2011-07-20 09:34:01 EDT
Bugs 343092, 335987 and 342925 fixed and the Gradient and Transparency has been added
Comment 4 Vincent Lorenzo CLA 2013-03-13 10:13:14 EDT
This bug can be marked as closed fixed.