Bug 167905 - IllegalArgumentException("Figure must be a child") when bordered figure has also non-bordered items
Summary: IllegalArgumentException("Figure must be a child") when bordered figure has a...
Status: NEW
Alias: None
Product: GMF-Tooling (ARCHIVED)
Classification: Modeling
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Michael Golubev CLA
QA Contact:
URL:
Whiteboard:
Keywords: contributed
Depends on:
Blocks:
 
Reported: 2006-12-13 14:03 EST by Michael Golubev CLA
Modified: 2010-07-19 22:21 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 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