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

Bug 288258

Summary: [Generative Tools] Enhancement for Constrained node in VisualIDRegistry generation
Product: [Modeling] Papyrus Reporter: Yann Tanguy <yann.tanguy>
Component: CoreAssignee: Yann Tanguy <yann.tanguy>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 Keywords: plan
Version: 0.7.0   
Target Milestone: M1   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
mylyn/context/zip none

Description Yann Tanguy CLA 2009-09-01 10:06:02 EDT
The generated method used for Java test of additional constraint on node (ModelFacet::ElementSelector) should also consider the graphical parent and not only the considered model element.
The graphical parent should be added as a parameter of VisualIDRegistry::is<ElementName>() method.
Comment 1 Yann Tanguy CLA 2009-09-01 11:28:54 EDT
Additionnal changes:
- AROUND statement (currently ignored) replaced by DEFINE
- getReferencingObjects() method call removed

Done in r491.
Comment 2 Yann Tanguy CLA 2009-09-01 11:29:02 EDT
Created attachment 146197 [details]
mylyn/context/zip
Comment 3 Yann Tanguy CLA 2009-09-03 05:41:09 EDT
This modification has undesired side effect generating erroneous code when using ElementSelection constraint in GenLink.
Comment 4 Yann Tanguy CLA 2009-09-03 12:24:09 EDT
Side effect fixed by testing if related node is a GenLink or not.

Done in r494.