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

Bug 355956

Summary: Children edit parts disrespect BorderItemLocator's position constant and align around parent edit part top left corner.
Product: [Modeling] GMF-Runtime Reporter: janpojer
Component: GeneralAssignee: Project Inbox <gmf-runtime-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description janpojer CLA 2011-08-26 10:22:43 EDT
Build Identifier: M20110210-1200

In my editor I have a function element and using element initializers, based on data from external resource, i decide how many children elements (ports) shold be modelled around a the border of my function. There are two types of ports. One has position constant set to West and other to EAST. Everytime i try to add more then one child port (two, three and more) the defined borderItemLocator alignment is disrespected and ports are modeled around top left function corner. When I model only one port with function. Everything is ok.

Reproducible: Always

Steps to Reproduce:
1. Create two types of child (ports) elements mapped to one parent element(function)
2. Set the alignment constants to EAST and WEST respectively
3. Using element Initializers create with one parent element several child elements
4. When modeled, the child elements do not respect alignment