Bug 167905

Summary: IllegalArgumentException("Figure must be a child") when bordered figure has also non-bordered items
Product: [Modeling] GMF-Tooling (ARCHIVED) Reporter: Michael Golubev <borlander>
Component: CoreAssignee: Michael Golubev <borlander>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3 Keywords: contributed
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Michael Golubev CLA 2006-12-13 14:03:49 EST
The issue was originally described in the news group (news:67ce6c10ed1543b2881807f3e174cea6$1@www.eclipse.org). 

The reason for this exception is that return value for inherited getContentPaneFor() method (this method is not generated) is not consistent with generated code for addChildVisuals(). The latter method uses some logic to add different child figures into different "panes", while the custom corresponding version of the getContentPaneFor(...) is not generated, thus always returning the "main" figure as content pane.
Comment 1 Eclipse Webmaster CLA 2010-07-19 22:21:32 EDT
[GMF Restructure] Bug 319140 : product GMF and component
Generation was the original product and component for this bug