Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 355956 - Children edit parts disrespect BorderItemLocator's position constant and align around parent edit part top left corner.
Summary: Children edit parts disrespect BorderItemLocator's position constant and alig...
Status: NEW
Alias: None
Product: GMF-Runtime
Classification: Modeling
Component: General (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-26 10:22 EDT by janpojer CLA
Modified: 2011-08-26 10:22 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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