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

Bug 325751

Summary: Update problem from GMF 2.2 to GMF 2.3: Polylines of child nodes are not shown any more
Product: [Modeling] GMF-Tooling Reporter: Ines D. <ines.dannehl>
Component: CoreAssignee: Project Inbox <gmp.gmf-tooling-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3 CC: ines.dannehl
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Ines D. CLA 2010-09-20 09:20:24 EDT
Build Identifier: 20100617-1415

I have a child node with a figure descriptor that contains a rectangle including a polyline (or polygon, it's still the same behaviour). The node is defined in the gmfgraph-model with an "affixed parent side" WEST (other than NONE). The parent node is a scalable polygon.
The model was made with GMF version 2.2. Now, I generated the gmfgen-model and the diagram code with GMF version 2.3. This results in some changes in the model and in the generated code (PolylineShape is used instead of Polyline). The problem is that the polyline of the child node is not displayed any more in the diagram. 

Reproducible: Always

Steps to Reproduce:
1.Create two classes in the Ecore model, one cotaining the other as EReference.
2.Create two figure descriptors, one as scalable polygon, the other with a rectangle that contains a polyline.
3.Create two nodes: one as parent node with the scalable polygon as figure, the other as affixed child with the rectangle and polyline figure.
4.Generate the code, run the diagram and create a parent and a child node within. The child node does not show the polyline.