| Summary: | BorderItemLocator can not correctly position the border item when using seq initializer | ||
|---|---|---|---|
| Product: | [Modeling] GMF-Runtime | Reporter: | Missing name <wg> |
| Component: | General | Assignee: | Project Inbox <gmf-runtime-inbox> |
| Status: | NEW --- | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | joerg.selig |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
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.