Bug 330649 - BorderItemLocator can not correctly position the border item when using seq initializer
Summary: BorderItemLocator can not correctly position the border item when using seq i...
Status: NEW
Alias: None
Product: GMF-Runtime
Classification: Modeling
Component: General (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-19 06:33 EST by Missing name CLA
Modified: 2011-02-22 09:38 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Missing name CLA 2010-11-19 06:33:20 EST
Build Identifier: 20100917-0705

When using seq initializer to creat border items, the position of the items are not correct. This problem happens when I upgrade from Eclipse 3.5 to 3.6. 

It seems that when I create the parent element of the border items, the getParentBorder() inside the BorderItemLocator always gives {0,0,0,0}. Based on this coordinates, the locator can not correctly position the border items. In the earlier versions, a correct position is given. 

I have create a post in the forum: 
http://www.eclipse.org/forums/index.php?t=rview&goto=637597#msg_637597

Reproducible: Always

Steps to Reproduce:
1.create a model containing a parent element with two border elements located on both EAST and WEST respectively.
2.on the parent element, create a feature seq initializer which is able to create the border items.
3.generate the diagram and create the parent element.