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

Bug 275665

Summary: [Class Diagram, UseCase Diagram] Association cannot be created
Product: [Modeling] Papyrus Reporter: Patrick Tessier <Patrick.Tessier>
Component: CoreAssignee: Patrick Tessier <Patrick.Tessier>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 Keywords: plan
Version: 0.7.0   
Target Milestone: M1   
Hardware: All   
OS: All   
Whiteboard: UML 2.x Diagrams
Bug Depends on:    
Bug Blocks: 272896    
Attachments:
Description Flags
mylyn/context/zip none

Description Patrick Tessier CLA 2009-05-11 10:35:46 EDT
Association cannot be created. An error appears during the execution of the command of creation.
This bug appear in the generation with the template for eclipse version 3.5
Comment 1 Patrick Tessier CLA 2009-05-12 11:19:14 EDT
The case of generation of Association is very specific.

In the gmf map or gmfgen, the source and the target of the association link is done by the attribute endType.
But this attribute is derived and cannot be change directly. In this case the GMF tool don't generate code in the command AssociationCreateCommand.

In this case we have to add custom code.

In the order to save this trick, a paragraph in the cook-book will be added.
Comment 2 Patrick Tessier CLA 2009-05-12 11:20:15 EDT
Created attachment 135374 [details]
mylyn/context/zip

class to modify or to add to manage association