Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 343373 - [Class Diagram] [Enhancements] Class Diagram needs to be regenerated
Summary: [Class Diagram] [Enhancements] Class Diagram needs to be regenerated
Status: CLOSED FIXED
Alias: None
Product: Papyrus
Classification: Modeling
Component: Core (show other bugs)
Version: 0.8.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 0.8.0   Edit
Assignee: Vincent Lorenzo CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 343359
Blocks: 343361
  Show dependency tree
 
Reported: 2011-04-20 07:25 EDT by Vincent Lorenzo CLA
Modified: 2013-01-31 09:38 EST (History)
1 user (show)

See Also:
vincent.lorenzo: documentation-


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vincent Lorenzo CLA 2011-04-20 07:25:52 EDT
Cloned from: 343361: [AllDiagrams] [Enhancements]All diagrams need to be regenerated
https://bugs.eclipse.org/bugs/show_bug.cgi?id=343361

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 Vincent Lorenzo CLA 2011-04-20 09:04:51 EDT
Done in R4508
Comment 2 Vincent Lorenzo CLA 2011-04-20 10:08:51 EDT
In R4509 : add headers!
Comment 3 Vincent Lorenzo CLA 2011-04-28 03:47:31 EDT
This bug can be marked as closed.
Comment 4 Vincent Lorenzo CLA 2011-04-29 04:55:37 EDT
I reopen the bug, because, in the previous commit, I have inversed AssociationBranch with AssociationLink and DependencyBranch with DependencyLink in the gmfgen. This change breaks the creation of associaton and dependency.
Comment 5 Vincent Lorenzo CLA 2011-04-29 04:59:05 EDT
Corrected in R4548: 
	- ElementBranches are after the Element Node
	- preferences page for AssociationBranch and DependencyBranch are created
Comment 6 Vincent Lorenzo CLA 2013-01-31 09:38:40 EST
This bug can be marked as closed fixed